0 Replies Latest reply on Feb 26, 2002 6:16 AM by Karita Levonen

    "Normal" javabeans and jsp in integrated tomcat/jboss

    Karita Levonen Newbie

      Hello,

      I am new to this jboss/tomcat stuff so if anyone could please help me out!!!??? I'm using the integrated tomcat(4.0.1)/jboss(2.4.4)...

      The problem is with normal javabeans. I'm using beans with my jsp and the jsp files get compiled just right but an error occurs when the jsp try's to find the javabean component. The javabean is put into jboss' deploy/xxx.war/WEB-INF/classes directory, so the location should be right? But still it does not work...

      the error I get is:

      org.apache.jasper.JasperException: Unable to compile class for JSPerror: File /usr/local/JBoss-2.4.4_Tomcat-4.0.1/jboss/deploy/jspdemo.war/WEB-INF/classes/org/apache/jsp/FormBean.class does not contain type org.apache.jsp.FormBean as expected, but type FormBean. Please remove the file, or make sure it appears in the correct subdirectory of the class path.

      So, any ideas what is wrong?? Should the bean be registered somehow, or what? Thanks in advance ;o)

      regards
      Dippi