javax.persistence.PersistenceException: Unable to build entity manager factory

openxava | vicnetepc | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    now error running...

    openxava | 1 year ago | vicnetepc
    javax.persistence.PersistenceException: Unable to build entity manager factory
  2. 0

    Using JBoss/Hypersonic distribution, startup platform, notice the following errors (abbreviated stack traces): 10:05:21,343 INFO [STDOUT] 10:05:21,343 ERROR [ResolverUtil@1885947] org.pentaho.di.core.util.ResolverUtil@1885947 - could not read entries 10:05:21,343 INFO [STDOUT] 10:05:21,343 ERROR [ResolverUtil@1885947] org.pentaho.di.core.util.ResolverUtil@1885947 - java.net.URISyntaxException: Illegal character in opaque part at index 31: e:/C:/PentahoSoftware/BI Platform/1.8.0.1080/pentaho-demo/jboss/server/default/deploy/pentaho.war/WEB-INF/lib/kettle-engine-3.0.jar!/org/pentaho/di/trans at java.net.URI$Parser.fail(Unknown Source) at java.net.URI$Parser.checkChars(Unknown Source) at java.net.URI$Parser.parse(Unknown Source) at java.net.URI.<init>(Unknown Source) at java.net.URL.toURI(Unknown Source) at org.pentaho.di.core.util.ResolverUtil.findInPackage(ResolverUtil.java:205) at org.pentaho.di.core.util.ResolverUtil.find(ResolverUtil.java:178) at org.pentaho.di.core.util.ResolverUtil.find(ResolverUtil.java:184) at org.pentaho.di.core.config.AnnotatedStepsConfigManager.load(AnnotatedStepsConfigManager.java:55) at org.pentaho.di.core.config.BasicConfigManager.loadAs(BasicConfigManager.java:46) at org.pentaho.di.trans.step.BaseStep.<clinit>(BaseStep.java:77) ... 10:05:21,359 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ... 10:05:23,062 INFO [STDOUT] 10:05:23,062 ERROR [ResolverUtil@16c73aa] org.pentaho.di.core.util.ResolverUtil@16c73aa - could not read entries 10:05:23,078 INFO [STDOUT] 10:05:23,062 ERROR [ResolverUtil@16c73aa] org.pentaho.di.core.util.ResolverUtil@16c73aa - java.net.URISyntaxException: Illegal character in opaque part at index 31: e:/C:/PentahoSoftware/BI Platform/1.8.0.1080/pentaho-demo/jboss/server/default/deploy/pentaho.war/WEB-INF/lib/kettle-engine-3.0.jar!/org/pentaho/di/job/entries at java.net.URI$Parser.fail(Unknown Source) at java.net.URI$Parser.checkChars(Unknown Source) at java.net.URI$Parser.parse(Unknown Source) at java.net.URI.<init>(Unknown Source) at java.net.URL.toURI(Unknown Source) at org.pentaho.di.core.util.ResolverUtil.findInPackage(ResolverUtil.java:205) at org.pentaho.di.core.util.ResolverUtil.find(ResolverUtil.java:178) at org.pentaho.di.core.util.ResolverUtil.find(ResolverUtil.java:184) at org.pentaho.di.core.config.AnnotatedJobConfigManager.load(AnnotatedJobConfigManager.java:43) at org.pentaho.di.core.config.BasicConfigManager.loadAs(BasicConfigManager.java:46) at org.pentaho.di.job.JobEntryLoader.readNatives(JobEntryLoader.java:107) at org.pentaho.di.job.JobEntryLoader.init(JobEntryLoader.java:96) at org.pentaho.plugin.kettle.KettleSystemListener.startup(KettleSystemListener.java:45) at org.pentaho.core.system.PentahoSystem.createSystemListeners(PentahoSystem.java:375) at org.pentaho.core.system.PentahoSystem.init(PentahoSystem.java:319) at org.pentaho.core.system.PentahoSystem.init(PentahoSystem.java:209)

    Pentaho BI Platform Tracking | 9 years ago | Jake Cornelius
    java.net.URISyntaxException: Illegal character in opaque part at index 31: e:/C:/PentahoSoftware/BI Platform/1.8.0.1080/pentaho-demo/jboss/server/default/deploy/pentaho.war/WEB-INF/lib/kettle-engine-3.0.jar!/org/pentaho/di/trans
  3. 0

    Using JBoss/Hypersonic distribution, startup platform, notice the following errors (abbreviated stack traces): 10:05:21,343 INFO [STDOUT] 10:05:21,343 ERROR [ResolverUtil@1885947] org.pentaho.di.core.util.ResolverUtil@1885947 - could not read entries 10:05:21,343 INFO [STDOUT] 10:05:21,343 ERROR [ResolverUtil@1885947] org.pentaho.di.core.util.ResolverUtil@1885947 - java.net.URISyntaxException: Illegal character in opaque part at index 31: e:/C:/PentahoSoftware/BI Platform/1.8.0.1080/pentaho-demo/jboss/server/default/deploy/pentaho.war/WEB-INF/lib/kettle-engine-3.0.jar!/org/pentaho/di/trans at java.net.URI$Parser.fail(Unknown Source) at java.net.URI$Parser.checkChars(Unknown Source) at java.net.URI$Parser.parse(Unknown Source) at java.net.URI.<init>(Unknown Source) at java.net.URL.toURI(Unknown Source) at org.pentaho.di.core.util.ResolverUtil.findInPackage(ResolverUtil.java:205) at org.pentaho.di.core.util.ResolverUtil.find(ResolverUtil.java:178) at org.pentaho.di.core.util.ResolverUtil.find(ResolverUtil.java:184) at org.pentaho.di.core.config.AnnotatedStepsConfigManager.load(AnnotatedStepsConfigManager.java:55) at org.pentaho.di.core.config.BasicConfigManager.loadAs(BasicConfigManager.java:46) at org.pentaho.di.trans.step.BaseStep.<clinit>(BaseStep.java:77) ... 10:05:21,359 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ... 10:05:23,062 INFO [STDOUT] 10:05:23,062 ERROR [ResolverUtil@16c73aa] org.pentaho.di.core.util.ResolverUtil@16c73aa - could not read entries 10:05:23,078 INFO [STDOUT] 10:05:23,062 ERROR [ResolverUtil@16c73aa] org.pentaho.di.core.util.ResolverUtil@16c73aa - java.net.URISyntaxException: Illegal character in opaque part at index 31: e:/C:/PentahoSoftware/BI Platform/1.8.0.1080/pentaho-demo/jboss/server/default/deploy/pentaho.war/WEB-INF/lib/kettle-engine-3.0.jar!/org/pentaho/di/job/entries at java.net.URI$Parser.fail(Unknown Source) at java.net.URI$Parser.checkChars(Unknown Source) at java.net.URI$Parser.parse(Unknown Source) at java.net.URI.<init>(Unknown Source) at java.net.URL.toURI(Unknown Source) at org.pentaho.di.core.util.ResolverUtil.findInPackage(ResolverUtil.java:205) at org.pentaho.di.core.util.ResolverUtil.find(ResolverUtil.java:178) at org.pentaho.di.core.util.ResolverUtil.find(ResolverUtil.java:184) at org.pentaho.di.core.config.AnnotatedJobConfigManager.load(AnnotatedJobConfigManager.java:43) at org.pentaho.di.core.config.BasicConfigManager.loadAs(BasicConfigManager.java:46) at org.pentaho.di.job.JobEntryLoader.readNatives(JobEntryLoader.java:107) at org.pentaho.di.job.JobEntryLoader.init(JobEntryLoader.java:96) at org.pentaho.plugin.kettle.KettleSystemListener.startup(KettleSystemListener.java:45) at org.pentaho.core.system.PentahoSystem.createSystemListeners(PentahoSystem.java:375) at org.pentaho.core.system.PentahoSystem.init(PentahoSystem.java:319) at org.pentaho.core.system.PentahoSystem.init(PentahoSystem.java:209)

    Pentaho BI Platform Tracking | 9 years ago | Jake Cornelius
    java.net.URISyntaxException: Illegal character in opaque part at index 31: e:/C:/PentahoSoftware/BI Platform/1.8.0.1080/pentaho-demo/jboss/server/default/deploy/pentaho.war/WEB-INF/lib/kettle-engine-3.0.jar!/org/pentaho/di/trans
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Running activator breaks subsequent invocations of sbt

    GitHub | 2 years ago | deanwampler
    java.net.URISyntaxException: Illegal character in authority at index 7: file://${activator.home}/repository
  6. 0

    On startup, Illegal character in opaque part at index 22: wsjar:file:/C:/Program Files/.....

    GitHub | 3 years ago | hicyo
    java.net.URISyntaxException: Illegal character in opaque part at index 22: wsjar:file:/C:/Program Files/IBM/WebSphere/AppServer/profiles/AppSrv01/installedApps/W7-ESMAD0191Cell01/my aplication.ear/APP-INF/lib/hazelcast-3.3.1.jar!/META-INF/services/com.hazelcast.PortableHook

    6 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.URISyntaxException

      Illegal character in opaque part at index 6: file:${project.build.outputDirectory}

      at java.net.URI$Parser.fail()
    2. Java RT
      URL.toURI
      1. java.net.URI$Parser.fail(Unknown Source)
      2. java.net.URI$Parser.checkChars(Unknown Source)
      3. java.net.URI$Parser.parse(Unknown Source)
      4. java.net.URI.<init>(Unknown Source)
      5. java.net.URL.toURI(Unknown Source)
      5 frames
    3. org.hibernate.jpa
      HibernatePersistenceProvider.getEntityManagerFactoryBuilderOrNull
      1. org.hibernate.jpa.boot.archive.internal.StandardArchiveDescriptorFactory.buildArchiveDescriptor(StandardArchiveDescriptorFactory.java:69)
      2. org.hibernate.jpa.boot.archive.internal.StandardArchiveDescriptorFactory.buildArchiveDescriptor(StandardArchiveDescriptorFactory.java:48)
      3. org.hibernate.jpa.boot.scan.spi.AbstractScannerImpl.buildArchiveDescriptor(AbstractScannerImpl.java:95)
      4. org.hibernate.jpa.boot.scan.spi.AbstractScannerImpl.scan(AbstractScannerImpl.java:63)
      5. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.scan(EntityManagerFactoryBuilderImpl.java:725)
      6. org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.<init>(EntityManagerFactoryBuilderImpl.java:221)
      7. org.hibernate.jpa.boot.spi.Bootstrap.getEntityManagerFactoryBuilder(Bootstrap.java:51)
      8. org.hibernate.jpa.HibernatePersistenceProvider.getEntityManagerFactoryBuilder(HibernatePersistenceProvider.java:182)
      9. org.hibernate.jpa.HibernatePersistenceProvider.getEntityManagerFactoryBuilderOrNull(HibernatePersistenceProvider.java:131)
      9 frames
    4. Hibernate EJB
      HibernatePersistence.getEntityManagerFactoryBuilderOrNull
      1. org.hibernate.ejb.HibernatePersistence.getEntityManagerFactoryBuilderOrNull(HibernatePersistence.java:93)
      1 frame
    5. org.hibernate.jpa
      HibernatePersistenceProvider.getEntityManagerFactoryBuilderOrNull
      1. org.hibernate.jpa.HibernatePersistenceProvider.getEntityManagerFactoryBuilderOrNull(HibernatePersistenceProvider.java:88)
      1 frame
    6. Hibernate EJB
      HibernatePersistence.getEntityManagerFactoryBuilderOrNull
      1. org.hibernate.ejb.HibernatePersistence.getEntityManagerFactoryBuilderOrNull(HibernatePersistence.java:101)
      1 frame
    7. org.hibernate.jpa
      HibernatePersistenceProvider.createEntityManagerFactory
      1. org.hibernate.jpa.HibernatePersistenceProvider.createEntityManagerFactory(HibernatePersistenceProvider.java:69)
      1 frame
    8. Hibernate EJB
      HibernatePersistence.createEntityManagerFactory
      1. org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:54)
      1 frame
    9. JavaEE 7
      Persistence.createEntityManagerFactory
      1. javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:55)
      1 frame
    10. org.openxava.jpa
      XPersistence.createManager
      1. org.openxava.jpa.XPersistence.getEntityManagerFactory(XPersistence.java:197)
      2. org.openxava.jpa.XPersistence.createManager(XPersistence.java:112)
      2 frames
    11. org.openxava.annotations
      AnnotatedClassParser.getManagedClassNames
      1. org.openxava.annotations.parse.AnnotatedClassParser.obtainManagedClassNamesUsingJPA(AnnotatedClassParser.java:2722)
      2. org.openxava.annotations.parse.AnnotatedClassParser.getManagedClassNames(AnnotatedClassParser.java:2637)
      2 frames
    12. com.openxava.naviox
      NaviOXFilter.doFilter
      1. com.openxava.naviox.impl.Initializer.init(Initializer.java:20)
      2. com.openxava.naviox.web.NaviOXFilter.doFilter(NaviOXFilter.java:30)
      2 frames
    13. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409)
      10 frames
    14. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
      3 frames
    15. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames