kolorobot / spring-mvc-quickstart-archetype

The project is a Maven archetype for Spring MVC web application.
http://blog.codeleak.pl
1.05k stars 477 forks source link

Compilation error #112

Closed enriqueism closed 8 years ago

enriqueism commented 8 years ago

JDK used: 1.8.0_101

ERROR o.s.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [xx/xxx/xxxxx/prueba/config/JpaConfig.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: Instant

Thanks in advance

kolorobot commented 8 years ago

It looks like no Java 8, although you say otherwise. Could you please check again if you are using the correct Java version?

I just created the project locally and the app is running:

[2016-09-19 11:32:49,467] Artifact s-demo:war exploded: Deploy took 8 165 milliseconds

kolorobot commented 8 years ago

Can you confirm the issue is solved / not solved?

enriqueism commented 8 years ago

Sorry for the delay, the issue is solved just by configure JAVA_HOME properly. Thaks.