日期:2014-05-18  浏览次数:20605 次

从jdk1.5转到1.42_08,tomcat6.0转到5.0,运行原来的工程报如下错误,是什么问题?
StandardWrapperValve[debugjsp]:   Servlet.service()   for   servlet   debugjsp   threw   exception
org.apache.jasper.JasperException:   Unable   to   compile   class   for   JSP

Generated   servlet   error:
        [javac]   javac:   invalid   flag:   5.0/common/endorsed
        [javac]   Usage:   javac   <options>   <source   files>
        [javac]   where   possible   options   include:
        [javac]       -g                                                 Generate   all   debugging   info
        [javac]       -g:none                                       Generate   no   debugging   info
        [javac]       -g:{lines,vars,source}         Generate   only   some   debugging   info
        [javac]       -nowarn                                       Generate   no   warnings
        [javac]       -verbose                                     Output   messages   about   what   the   compiler   is   doing
        [javac]       -deprecation                             Output   source   locations   where   deprecated   APIs   are   used
        [javac]       -classpath   <path>                   Specify   where   to   find   user   class   files
        [javac]       -sourcepath   <path>                 Specify   where   to   find   input   source   files
        [javac]       -bootclasspath   <path>           Override   location   of   bootstrap   class   files
        [javac]       -extdirs   <dirs>                       Override   location   of   installed   extensions
        [javac]       -d   <directory>                         Specify   where   to   place   generated   class   files
        [javac]       -encoding   <encoding>             Specify   character   encoding   used   by   source   files
&nbs