Hello everybody.
I tried to deploy the "REST Example with Application" on Eclipse Indigo.
Here the steps I followed:
First of all,  I installed TomEEplus  
http://www.apache.org/dyn/closer.cgi/openejb/4.0.0-beta-2/apache-tomee-1.0.0-beta-2-plus.zip
http://www.apache.org/dyn/closer.cgi/openejb/4.0.0-beta-2/apache-tomee-1.0.0-beta-2-plus.zip
 
. I moved all the jar files from webapps\tomee\lib to
apache-tomee-plus-1.0.0\lib folder (it was written as suggestion in JIRA).
Then, I select Web->Dynamic Web Project, I set "Dynamic web module_version"=
3 and leave it to “Default Configuration for TomEE plus” on Eclipse. I
successfully built the project but when I run it on the server I receive the
following excpetion:
24 Απρ 2012 11:39:30 πμ org.apache.myfaces.webapp.AbstractFacesInitializer
initFaces
SEVERE: An error occured while initializing MyFaces: null
java.lang.NullPointerException
        at
org.apache.tomee.myfaces.TomEEAnnotationProvider.getAnnotatedClasses(TomEEAnnotationProvider.java:41)
        at
org.apache.myfaces.config.annotation.AnnotationConfigurator.createFacesConfig(AnnotationConfigurator.java:90)

Do I have I do more settings and where? Shall I add JSF and JSTL libraries?
Is the right way to test the REST examples in Eclipse as above?

Regards,
kalgik


--
View this message in context: 
http://openejb.979440.n4.nabble.com/Problem-deploying-REST-Examples-on-Eclipse-tp4582815p4582815.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to