Hello,

What version are you building?

`openjpa-3.1.0-rafcec21a1d489dff682a3ce7986fac6a1c80e8e0` looks suspicious
Please ensure you are using latest "official" openjpa 3.1.0

On Thu, 24 Oct 2019 at 22:11, Jibsan Joel Rosa Toirac <jibsa...@softel.cu>
wrote:

> Hello I have an issue with the OpenMeetings while I'm making a build. It
> works ok but when I try to start the server with the following commands:
>
> cd /route/to/openmeetings/build/folder
> cd openmeetings-server/target/server
> ./bin/catalina.sh run
>
> The browser gives me an error and show this:
>
> ERROR 10-24 10:58:28.715 o.s.w.c.ContextLoader:313 [main] - Context
> initialization failed
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'entityManagerFactory' defined in ServletContext resource
> [/WEB-INF/classes/applicationContext.xml]: Invocation of init method
> failed; nested exception is javax.persistence.PersistenceException:
> Explicit persistence provider error(s) occurred for "openmeetings" after
> trying the following discovered implementations:
> org.apache.openjpa.persistence.PersistenceProviderImpl from provider:
> org.apache.openjpa.persistence.PersistenceProviderImpl; nested exception is
> <openjpa-3.1.0-rafcec21a1d489dff682a3ce7986fac6a1c80e8e0 nonfatal general
> error> org.apache.openjpa.util.GeneralException: org.xml.sax.SAXException:
> file:/media/jibsan/Almacén/Compilacion/openmeetings/openmeetings-server/target/server/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml
> [Location:Line: 24, C: 17]: org.xml.sax.SAXParseException; systemId:
> file:/media/jibsan/Almacén/Compilacion/openmeetings/openmeetings-server/target/server/webapps/openmeetings/WEB-INF/classes/META-INF/persistence.xml;
> lineNumber: 24; columnNumber: 17; cvc-complex-type.3.1: Value '2.0' of
> attribute 'version' of element 'persistence' is not valid with respect to
> the corresponding attribute use. Attribute 'version' has a fixed value of
> '1.0'.
>
> I need to know how to fix it, please if anyone knows I will be thankful.
>
> Greetings.
> Jibsan
>


-- 
WBR
Maxim aka solomax

Reply via email to