Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems with JEB+JPA+NetBeans 8.0.2

Francisco Menchu
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im working with NetBeans 8.0.2 a Enterprice Aplication

im using:

Entity Class from Data Base
A Session Bean from Entity Class
A Stateless Session Bean to access the Session Bean

But in the web part, when i use a JSP Managed Bean to conect with the Stateless Session Bean in console:

C:\Users\Pancho\Documents\Nuevo NetBeans\EJBS\Usuarios Pagina\Usuarios Pagina-war\nbproject\build-impl.xml:1051: The module has not been deployed.
See the server log for details.

In the server log:

WARNING: Ignore WEB-INF/sun-web.xml in archive /C:/Users/Pancho/Documents/Nuevo NetBeans/EJBS/Usuarios Pagina/Usuarios Pagina-war/build/web/, as WLS counterpart runtime xml WEB-INF/glassfish-web.xml is present in the same archive.
SEVERE: Exception while invoking class org.glassfish.persistence.jpa.JPADeployer prepare method
SEVERE: java.lang.RuntimeException: Invalid resource : baseUsuarios__pm

at the end:

SEVERE: Exception while loading the app
SEVERE: Undeployment failed for context /Usuarios_Pagina-war
SEVERE: Exception while loading the app : java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: java.lang.RuntimeException: java.lang.NoClassDefFoundError: Lcom/ln/controlUsuarios;

Serching for anothers answers i found this

in the answer someone said that some persistance.xml and put it in the META-INF folder... ???
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic