2 Replies Latest reply on Jun 22, 2008 2:37 PM by Peter Johnson

    JasperException: Need classpath for JSP compile

    Björn Bredohl Newbie


      I have some problems to migrate a war project from BEA to JBoss 4.2.2.
      In this project are a lot of .jsp files, which use a lot of java classes without imports!


      FileReader fReader = new FileReader(new File(file));

      When I try to deploy the Pproject, I get a lot of "... cannot be resolved to a type" errors.
      In this case:
      FileReader cannot be resolved to a type

      If I add

      to the jsp, everything is ok!

      How can I change this in the global configuration?