[opencms-dev] Modules Classes problem (Classpath ?)

Apostoly Guillaume ApostolyG at mail.europcar.com
Wed Jun 25 17:22:01 CEST 2003


I already tried ! I noticed that I've got to publish the project (because
there's no "online/offline" meaning for the classloader) but even by
restarting tomcat (or stop/starting the webapp), i still get the same error
...
Any other idea ?

-----Message d'origine-----
De: Steele, Jeffrey [mailto:steelej at DCSC.GOV]
Date: mercredi 25 juin 2003 17:02
À: 'opencms-dev at opencms.org'
Objet: RE: [opencms-dev] Modules Classes problem (Classpath ?)



You might have to restart Tomcat.  When I was working on my module recently,
I found that I had to both publish the class and restart Tomcat before
changes would take effect.

> -----Original Message----- 
> From: Apostoly Guillaume [ mailto:ApostolyG at mail.europcar.com
<mailto:ApostolyG at mail.europcar.com> ] 
> Sent: Wednesday, June 25, 2003 10:00 AM 
> To: opencms-dev at opencms.org 
> Subject: [opencms-dev] Modules Classes problem (Classpath ?) 
> 
> 
> Hi all, 
>  
> I've downloaded the files needed for the htdig module, and 
> tried to build 
> it. In fact i've got the same problem with a module i'm 
> trying to build from 
> scratch : 
>  
> - i've created the module and put the files in the good structure : 
>  
> /system/modules/com.opencms.modules.search/htdig/classes/com/o 
> pencms/modules 
> /search/htdig/CmsHtdig.class 
> - i can see thoose files replicated on the real FS under : 
> /opt/tomcat/webapps/opencms/WEB-INF/classes/com/opencms/module 
s/search/htdig 
>  
> Still, when i'm trying to include the package into a jsp page 
> like this : 
> <%@ page session="false" 
> import="com.opencms.flex.jsp.*,java.lang.*,java.util.*,com.ope 
ncms.flex.util 
> .CmsMessages,com.opencms.modules.search.htdig.*" %> 
>  
> I'm getting this error : 
>  [javac] 
> /opt/tomcat/work/Standalone/localhost/opencms/WEB-INF/jsp/onli 
ne/IntranetEur 
> opcar/home_jsp_jsp.java:11: package 
> com.opencms.modules.search does not 
> exist 
>     [javac] import com.opencms.modules.search.htdig; 
> 
> What must i do so that the jsp compiler sees the classes ? 
> Thanks by advance, 
>  
> Guillaume 
>  
> _______________________________________ 
> Guillaume APOSTOLY 
> Business-Analyst EIS-BSD 
> Tél: +33 (0)1.30.44.95.22 
> Fax: +33 (0)1.30.44.98.08 
> ApostolyG at mail.europcar.com < mailto:ApostolyG at mail.europcar.com
<mailto:ApostolyG at mail.europcar.com> >  
> _______________________________________ 
> 
> 
> 
> 
> 
> 
> 
>  
> _______________________________________________ 
> This mail is send to you from the opencms-dev mailing list 
> To change your list options, or to unsubscribe from the list, 
> please visit 
> http://mail.opencms.org/mailman/listinfo/opencms-dev
<http://mail.opencms.org/mailman/listinfo/opencms-dev>  
> 




More information about the opencms-dev mailing list