在UserEnv的前面加上package test;重新编译就OK了

解决方案 »

  1.   

    好象是配置的问题,在配置文件里把WEB-INF/classes改成绝对路径试一下.
      

  2.   

    同样的,你要把E:\jspweb\oa\WEB-INF\classes路径加入到classpath里去
      

  3.   

    我也有同样的困惑,放在examples下面可用,放在自己建的目录下调用jsp没有问题,但调用javabean怎么都找不到类,已经按上述方法做了,没有用高级的工具,就是jdk+tomcat,哪位大侠亲身试一下,郁闷两天了………………
      

  4.   

    同意 beyond_xiruo(希偌) 的
      

  5.   

    加了,
    还是不行啊
    description:
    The server encoutered an internal error() than prevented from fufilling this request
      

  6.   

    把conf中server中的
    <!-- Define the default virtual host -->
          <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true">webapps改为你的目录就可以了