guess it can be cause your project is called tomee-something
Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-08-14 19:23 GMT-07:00 sgjava <[email protected]>: > If I use container.deployClasspathAsWebApp("/tomee-jaxrs-test", new > File("target/tomee-jaxrs-test-1.0.0-SNAPSHOT")) from my Maven project it > looks like it tries to deploy, but I get a 404 with the same URL that works > with javax.ejb.embeddable.EJBContainer. > > INFO: using context file > > C:\Users\sgoldsmith\Documents\NetBeansProjects\tomee-jaxrs-test\target\tomee-jaxrs-test-1.0.0-SNAPSHOT\META-INF\context.xml > Aug 14, 2015 10:20:34 PM org.apache.tomee.catalina.TomcatWebAppBuilder > deployWebApps > INFO: using default host: localhost > Aug 14, 2015 10:20:34 PM org.apache.tomee.catalina.TomcatWebAppBuilder init > INFO: ------------------------- localhost -> /tomee-jaxrs-test > > I also used container.deployClasspathAsWebApp("/tomee-jaxrs-test", new > File("src/main/webapp")), but it doesn't look like the service is actually > deployed. I updated my Github project if you want to take a look. > > https://github.com/sgjava/tomee-jaxrs-test.git > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/org-apache-tomee-embedded-Container-deployment-issues-tp4675898.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
