错误提示:15:09:35,206 ERROR [[jsp]] Servlet.service() for servlet jsp threw exceptionorg.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 14 in the jsp file: /test.jspHelloWorld cannot be resolved to a type11: <%12: try{13: InitialContext ctx= new InitialContext();14: HelloWorld helloworld =(HelloWorld) ctx.lookup("HellloWorld.local");15: out.println(helloworld.sayHello("sss"));16: }catch(NamingException e){17: out.println(e.getMessage());An error occurred at line: 14 in the jsp file: /test.jspHelloWorld cannot be resolved to a type11: <%12: try{13: InitialContext ctx= new InitialContext();14: HelloWorld helloworld =(HelloWorld) ctx.lookup("HellloWorld.local");15: out.println(helloworld.sayHello("sss"));16: }catch(NamingException e){17: out.println(e.getMessage());
麻烦大神们解决一下!!!!
这个自己看了,改了,,也不行,
追答你项目是分开部署的前后台,还是整体部署的项目,要是整体部署的话还要在前面加个项目名