Hi all,

I try to run the Main.java in embedded-tutorials/simple-deployment  and after 
the run I get an erro although I set all jars in /lib and also all the 
config-files in /conf in my CLASSPATH .

ERROR 21-03 14:21:47,137 (KernelErrors.java:validate:107)  -
*** DEPLOYMENTS MISSING DEPENDENCIES:
jboss.j2ee:service=EJB3,jar=bin,name=CustomerDAOBean depends on: 
                     persistence.units:unitName=custdb'{Create:NOT FOUND}
                     persistence.units:unitName=custdb'{Start:NOT FOUND}

Exception in thread "main" java.lang.RuntimeException: Problems scanning 
classpath
        at 
org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.scanClasspath(EJB3StandaloneBootstrap.java:245)
        org.jboss.tutorial.simple.tutorial.simple.Main.main(Main.java:54)

And I do not know what I do wrong and I suspect that the problem can be with 
unitName definition.

Some suggestions !!!

Thanks.






View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931581#3931581

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931581


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to