2 Replies Latest reply on Oct 15, 2008 11:24 AM by Vitor Souza

    jboss-seam.jar will not be exported

    Vitor Souza Newbie

      Hello there.

      First of all, I'm using:

      Kubuntu 8.10 beta, kernel 2.6.27-6-generic

      Eclipse Ganymede installed from eclipse-jee-ganymede-SR1-linux-gtk.tar.gz

      JBoss Tools development version installed using the update site http://download.jboss.org/jbosstools/updates/development

      JBoss AS installed from jboss-4.2.3.GA-jdk6.zip

      Seam unpacked from jboss-seam-2.1.0.CR1.tar.gz


      I created a File > New > Seam Web Project using Seam 2.0 and JBoss 4.2. Once the project is created, Eclipse reports "cannot be resolved to a type" errors in the Authenticator.java as if jboss-seam.jar weren't in the classpath.

      In the status bar, it says:

      Classpath entry /MyProject/EarContent/jboss-seam.jar will not be exported or published. Runtime ClassNotFoundException may result.


      If I add jboss-seam.jar to the classpath, that warning moves to the Problems tab and the errors go away. If I then remove it, the warning also goes away and everything is as it's supposed to be in the beginning.

      Is it me or there's a real problem here?

      Thanks,

      VÃtor