This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Which is exactly correct, echoing the CLASSPATH shows but Resin obviously does not see it.
It is not an issue w/ using Resin w/ IIS as I can get servlets WITHOUT packages to compile w/o a single problem. If I were to remove the "package ..." line from the code and change the "servlet-class" tag in the web.xml file to <servlet-class>Router</servlet-class>, it compiles automatically and runs!
If Resin is like Tomcat, it totally ignores the environment CLASSPATH and uses its own rules to find classes. If your servlet class is com.scientifik.web.Router then the compiled class MUST BE PLACED ACCORDINGLY!!! WEB-INF/classes/com/scientifik/web/Router.class This is all laid out in the servlet API documentation which you really really really need to get, read, and understand. Download the API from here.