You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by El...@fanuc.de on 2002/07/09 10:56:38 UTC
class file problem
Hi,
i try to access my webapp which is running fine with Tomcat from jetspeed.
The class files are placed under WEB-INF/classes/de/xx/yy Their package
declaration is de.xx.yy
but i get a class not found exception if i try to access the class files.
>From the archives I got a hint to put the class files in WEB-INF/classes.
Then the class files are found but i get
the following exception.
java.lang.NoClassDefFoundError: mainServlet (wrong name: xx/yy/mainServlet)
which tells me that my package declaration is wrong. So where do I have to
put my class files?
Thanks in advance for any suggestions.
Best regards.
Marcus
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: class file problem
Posted by Paul Spencer <pa...@apache.org>.
Marcus,
1) Is class file in Jetspeed's webapp class directory?
2) Are all of the jars and classes required by mainServlet in the
classpath used by Jetspeed.
Alternatively, their is a servlet portlet.
Paul Spencer
Elwert.Marcus@fanuc.de wrote:
> Hi,
>
> i try to access my webapp which is running fine with Tomcat from jetspeed.
> The class files are placed under WEB-INF/classes/de/xx/yy Their package
> declaration is de.xx.yy
> but i get a class not found exception if i try to access the class files.
>>>From the archives I got a hint to put the class files in WEB-INF/classes.
> Then the class files are found but i get
> the following exception.
>
> java.lang.NoClassDefFoundError: mainServlet (wrong name: xx/yy/mainServlet)
>
> which tells me that my package declaration is wrong. So where do I have to
> put my class files?
>
> Thanks in advance for any suggestions.
>
> Best regards.
>
> Marcus
>
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>