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

Steele, Jeffrey steelej at DCSC.GOV
Wed Jun 25 17:18:00 CEST 2003


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]
> 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>  
> _______________________________________ 
> 
> 
> 
> 
> 
> 
> 
>  
> _______________________________________________
> 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
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20030625/ab5eb8bf/attachment.htm>


More information about the opencms-dev mailing list