Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-2905

"jboss-seam.jar will not be exported" error on new Seam project

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 3.0.0.beta1
    • 3.0.0.alpha
    • seam2
    • None

      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.

              Unassigned Unassigned
              vitorsouzabr Vitor Souza (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: