These are the only packages the class depends on: * import java.io.*; import java.sql.*;
import javax.sql.*; import javax.naming.*; import javax.servlet.*; import javax.servlet.http.*; import java.util.*;* Here is the error from the console: * [19:17:38.683] com.caucho.config.LineConfigException: /C:/resin/conf/app-default.xml:49: `romsok_srv' is not a known servlet. Servlets belong in the classpath, often in WEB-INF/classes.* On Fri, Sep 18, 2009 at 5:24 PM, Scott Ferguson <f...@caucho.com> wrote: > > On Sep 18, 2009, at 1:36 PM, Rom Sok wrote: > > > Hi, > > > > I ran into a problem. I created an Eclipse project and I use it as > > the deploy directory as well in Resin, but I am also using some code > > that was compiled a long time ago not by me. It works fine until I > > attempt to compile the servlet classes in Eclipse - then I get > > notices from Resin on the console, that it cannot find those servlet > > classes even though they are right there under the classes directory > > in WEB-INF. > > > > Could anyone please suggest why this might be happening? > > Do you know if those classes depend on a library that might be missing? > > The JDK can throw some misleading ClassNotFoundExceptions when the > class exists, but one of its dependencies does not exist. > > (Hmm. It might be possible in the future for Resin to modify the > error a bit, so you can distinguish between the two cases.) > > -- Scott > > > > > > > Thanks, > > > > Ramy. > > _______________________________________________ > > resin-interest mailing list > > resin-interest@caucho.com > > http://maillist.caucho.com/mailman/listinfo/resin-interest > > > > _______________________________________________ > resin-interest mailing list > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest >
_______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest