Skip to content

Commit

Permalink
Merge pull request #14 from jshao111/master
Browse files Browse the repository at this point in the history
Fixed JAXBExceptinjava.lang.NoClassDefFoundError: javax/xml/bind/JAXB…
  • Loading branch information
vfedoriv authored May 15, 2018
2 parents b3caf06 + 9c02dd8 commit eb0c0c0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
16 changes: 11 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.7</java.version>

<spring-data-jdbc.version>1.2.1.RELEASE</spring-data-jdbc.version>
<cobertura.version>2.7</cobertura.version>

</properties>

<!-- repository for springfox plugin -->
<repositories>
<repository>
Expand Down Expand Up @@ -89,7 +89,7 @@
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
Expand All @@ -100,7 +100,7 @@
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
Expand Down Expand Up @@ -138,6 +138,12 @@
<version>1.3</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
</dependencies>

<build>
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The [spring-petclinic-angular project](https://github.com/spring-petclinic/sprin
## Running petclinic locally
```
git clone https://github.com/spring-petclinic/spring-petclinic-rest.git
cd spring-petclinic
cd spring-petclinic-rest
./mvnw spring-boot:run
```

Expand Down

0 comments on commit eb0c0c0

Please sign in to comment.