[jboss-jira] [JBoss JIRA] Commented: (JBAS-4780) J2EE duke's bank example missing javax.servlet.jar dependency

Ely Schoenfeld (JIRA) jira-events at lists.jboss.org
Wed Nov 21 09:52:18 EST 2007


    [ http://jira.jboss.com/jira/browse/JBAS-4780?page=comments#action_12388625 ] 
            
Ely Schoenfeld commented on JBAS-4780:
--------------------------------------

Hi

I managed to compile examples thanks to this link: http://joewong.blogspot.com/2007/08/eclipse-322-with-jboss-server-421.html  that points to this one http://www.informatik.fh-wiesbaden.de/%7Eknauf/public/

The problem is that using JBoss 4.2.0, the javax.servlet.jar is packed in a different jar.

I just added a line to the build.xml in order to add servlet-api.jar to the classpath:

      <path id="jboss.classpath">
...
         <pathelement path="${jboss.dir}/server/default/lib/servlet-api.jar"/>
...
      </path>

Hope it helps someone

Ely

> J2EE duke's bank example missing javax.servlet.jar dependency
> -------------------------------------------------------------
>
>                 Key: JBAS-4780
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4780
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Getting Started Guide
>         Environment: JBoss AS 4.2.0.GA
>            Reporter: James Shaw
>
> Trying to compile the example results in compilation errors due to javax.servlet.jar not being present in ${jboss.home}/server/default/lib/

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list