Here what I did once installed the war in webapps/:
1) rm webapps/neo-web-0-SNAPSHOT/WEB-INF/lib/neo-services-0-SNAPSHOT.jar
2) add context.xml: cat webapps/neo-web-0-SNAPSHOT/META-INF/context.xml
<Context docBase="neo-web-0-SNAPSHOT" path="/neo" reloadable="false"><Loader
className="org.apache.catalina.loader.VirtualWebappLoader"
virtualClasspath="/tmp/neoLight-master/apache-tomee-jaxrs-1.7.2-SNAPSHOT/../services/target/neo-services-0-SNAPSHOT.jar"
searchVirtualFirst="true"/></Context>

And it worked.

Maybe try to set the path with / instead of \

Romain Manni-Bucau
Twitter: @rmannibucau
Blog: http://rmannibucau.wordpress.com/
LinkedIn: http://fr.linkedin.com/in/rmannibucau
Github: https://github.com/rmannibucau



2014-10-16 14:24 GMT+02:00 tcollignon <[email protected]>:
> Ok I've commited the source here : https://github.com/tcollignon/neoLight
>
> Let me know if something missed.
>
> Thank you
>
>
>
> --
> View this message in context: 
> http://tomee-openejb.979440.n4.nabble.com/Classpath-discovery-in-REST-annotations-with-virtual-classpath-tp4672309p4672330.html
> Sent from the TomEE Dev mailing list archive at Nabble.com.

Reply via email to