You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Lawrence D. DeVooght" <de...@savant-is.com> on 2002/02/09 03:04:46 UTC
NoClassDefFoundError: javax/net/ServerSocketFactory
Hello,
Hi,
Does someone or anyone have an explaination or remedy for this error?
I get this error when I try to run Tomcat with the SSL invoked, Tomcat/4.0.2-b1 -- Windows 2000 Pro.
I followed the instructions on installing SSL given in the documentation to the letter, but I still get this error.
___________________________________________
Exception during startup processing
java.lang.reflect.InvocationTargetException: java.lang.NoClassDefFoundError: javax/net/ServerSocketFactory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.apache.catalina.util.xml.ObjectCreate.start(XmlMapper.java:616)
at org.apache.catalina.util.xml.XmlMapper.matchStart(XmlMapper.java:412)
at org.apache.catalina.util.xml.XmlMapper.startElement(XmlMapper.java:91)
at org.xml.sax.helpers.XMLReaderAdapter.startElement(XMLReaderAdapter.java:329)
at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1376)
at org.apache.xerces.validators.common.XMLValidator.callStartElement(XMLValidator.java:1284)
at org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumentScanner.java:1806)
at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1182)
at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:362)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:301)
at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:228)
at org.apache.catalina.startup.Catalina.start(Catalina.java:725)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
___________________________________________
There is a class, org.apache.catalina.net.SSLServerSocketFactory, that imports javax.net.ServerSocketFactory.
The problem may be that this class, "javax.net.ServerSocketFactory" can't be found because it's in the JDK 1.4.0,
but then when I use JDK 1.4.0 to run Apache Tomcat/4.0.2-b1 its still not found.
Thanks for any help.
LDD
--
To unsubscribe: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>