Setting up Embedded Tomcat to honor Servlet 3.0 Annotations

2017-10-01 Thread Brian Toal
I want to decouple my solution from web.xml completely, so the goal is to have the container to scan all jars on the classpath and look for Servlet 3.0 annotations and do the necessary (register servlet context listeners, filters, servlets, etc). In the code below, the container starts, but none

Re: Building a uber/fat jar

2017-10-01 Thread Brian Toal
thanks John, I want to decouple my solution from web.xml completely, so the goal is to have the container to scan all jars on the classpath and look for Servlet 3.0 annotations and do the necessary (register servlet context listeners, filters, servlets, etc). The container starts, but none of th

Re: Problem with ClassNotFoundException: org.apache.tomcat.util.buf.UriUtil

2017-10-01 Thread Mark Thomas
On 01/10/17 20:30, Nicholas Cottrell wrote: > /Users/nic/git/sprawk/etc/build.xml:493: java.lang.NoClassDefFoundError: > org/apache/tomcat/util/buf/UriUtil > I've confirmed that the jars downloaded by maven do not include this class. > Should it be there? If not, how do I get it? I see the

Problem with ClassNotFoundException: org.apache.tomcat.util.buf.UriUtil

2017-10-01 Thread Nicholas Cottrell
Hi! I have the following in my pom.xml ... 7.0.78 org.apache.tomcat tomcat-catalina ${tomcat.version} org.apache.tomcat tomcat-jasper ${tomcat.version} org.apache.tomcat tomcat-util ${tomcat.version} And my Ant build.xml has: However I can't compile my JSPs,

[OT] JavaOne anyone?

2017-10-01 Thread Leon Rosenberg
Hi, is anyone from the list at the java1? regards Leon