• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Problems with JEB+JPA+NetBeans 8.0.2

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


https://coderanch.com/t/599190/EJB-JEE/java/JPA-Persistency-problems

in the answer someone said that some persistance.xml and put it in the META-INF folder... ???
 
Something about .... going for a swim. With this tiny ad ...
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic