Opened 6 years ago

Closed 6 years ago

#1743 closed defect (fixed)

Petascope cannot run compiled with OpenJDK 10

Reported by: Dimitar Misev Owned by: Bang Pham Huu
Priority: major Milestone: 9.6
Component: petascope Version: development
Keywords: Cc:
Complexity: Medium

Description

I get this error:

 ERROR [08:55:24] SpringApplication@815: Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

Change History (3)

comment:1 by Dimitar Misev, 6 years ago

I got this random error after switching to OpenJDK 8:

24-Apr-2018 08:59:44.302 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 16590 ms
  INFO [09:00:00] OWSMetadataRepostioryService@74: Creating default OWS Service Metadata for new database.
  INFO [09:00:00] OWSMetadataRepostioryService@74: Creating default OWS Service Metadata for new database.
 ERROR [09:00:00] ExceptionAdvice@57: Catched an exception: 
java.util.ConcurrentModificationException
	at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909)
	at java.util.ArrayList$Itr.next(ArrayList.java:859)
	at petascope.wcs2.handlers.kvp.KVPWCSGetCapabilitiesHandler.buildServiceIdentification(KVPWCSGetCapabilitiesHandler.java:283)
	at petascope.wcs2.handlers.kvp.KVPWCSGetCapabilitiesHandler.handle(KVPWCSGetCapabilitiesHandler.java:201)
	at petascope.controller.handler.service.KVPWCSServiceHandler.handle(KVPWCSServiceHandler.java:71)
	at petascope.controller.PetascopeController.requestDispatcher(PetascopeController.java:124)
	at petascope.controller.PetascopeController.handleGet(PetascopeController.java:84)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)

comment:2 by Dimitar Misev, 6 years ago

Priority: criticalmajor

comment:3 by Bang Pham Huu, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.