Επισκέπτης Δημοσ. 16 Ιουνίου 2018 Δημοσ. 16 Ιουνίου 2018 Κάνω αυτο εδώ το παράδειγμα αλλά μου βγάζει ότι δέν βρίσκει στο <parent> του pom.xml το <relativePath> Καμιά ιδέα πώς μπορώ να το τρέξω?
makisvisual Δημοσ. 16 Ιουνίου 2018 Δημοσ. 16 Ιουνίου 2018 (επεξεργασμένο) Κάνε μια δοκιμή ανεβάζοντας το version από 2.0.1.RELEASE σε 2.0.2.RELEASE όπως παρακάτω: <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.2.RELEASE</version> <relativePath /> <!-- lookup parent from repository --> </parent> Υπήρχε νομίζω bug στην 2.0.1 έκδοση Επεξ/σία 16 Ιουνίου 2018 από makisvisual
tsofras Δημοσ. 16 Ιουνίου 2018 Δημοσ. 16 Ιουνίου 2018 (επεξεργασμένο) Βάλε και το pom σου να δούμε με αυτό παίζει και έχει έκδοση 2.0.1-RELEASE <?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.example</groupId> <artifactId>java-getting-started</artifactId> <version>1.0</version> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.1.RELEASE</version> <relativePath/> </parent> <name>java-getting-started</name> <properties> <java.version>1.8</java.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <webjars-bootstrap.version>4.1.0</webjars-bootstrap.version> <webjars-jquery-ui.version>1.12.1</webjars-jquery-ui.version> <webjars-jquery.version>3.3.1-1</webjars-jquery.version> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> <exclusions> <exclusion> <groupId>nz.net.ultraq.thymeleaf</groupId> <artifactId>thymeleaf-layout-dialect</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> </dependency> <dependency> <groupId>com.zaxxer</groupId> <artifactId>HikariCP</artifactId> </dependency> <dependency> <groupId>org.webjars</groupId> <artifactId>jquery</artifactId> <version>${webjars-jquery.version}</version> </dependency> <dependency> <groupId>org.webjars</groupId> <artifactId>jquery-ui</artifactId> <version>${webjars-jquery-ui.version}</version> </dependency> <dependency> <groupId>org.webjars</groupId> <artifactId>bootstrap</artifactId> <version>${webjars-bootstrap.version}</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <scope>runtime</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <executions> <execution> <goals> <goal>build-info</goal> </goals> <configuration> <additionalProperties> <encoding.source>${project.build.sourceEncoding}</encoding.source> <encoding.reporting>${project.reporting.outputEncoding}</encoding.reporting> <java.source>${maven.compiler.source}</java.source> <java.target>${maven.compiler.target}</java.target> </additionalProperties> </configuration> </execution> </executions> </plugin> </plugins> </build> </project> Επεξ/σία 16 Ιουνίου 2018 από tsofras
Επισκέπτης Δημοσ. 19 Ιουνίου 2018 Δημοσ. 19 Ιουνίου 2018 Συγνώμη που άργησα να απαντήσω αλλα ασχολούμαι με ένα σωρό πράγματα.. πράγματι έχει bug η έκδοση 2.0.1 έκδοση και έχετε δίκιο.. τώρα παίζει σάν ρολόι Ευχαριστώ.. SOLVED
Προτεινόμενες αναρτήσεις
Δημιουργήστε ένα λογαριασμό ή συνδεθείτε για να σχολιάσετε
Πρέπει να είστε μέλος για να αφήσετε σχόλιο
Δημιουργία λογαριασμού
Εγγραφείτε με νέο λογαριασμό στην κοινότητα μας. Είναι πανεύκολο!
Δημιουργία νέου λογαριασμούΣύνδεση
Έχετε ήδη λογαριασμό; Συνδεθείτε εδώ.
Συνδεθείτε τώρα