我正在开发一个动态网络项目。项目在本地服务器上运行良好,但不是在现场。在实时服务器上,它在我使用任何 java 对象的行抛出异常:
org.apache.jasper.JasperException:无法为 JSP 编译类:
An error occurred at line: 7 in the jsp file: /groups.jsp
CollectionAppService cannot be resolved to a type
4: <%
5: String json = "[]";
6: try {
7: CollectionAppService collectionAppService = new CollectionAppService();
8: json = collectionAppService.getGroupsJson();
9: } catch (Exception e) {
10: e.printStackTrace();
项目在本地服务器上运行,但在最大类文件的错误日志中也有错误:
错误:
Thu Sep 20 01:16:11 GMT+05:30 2012
File not found: /Users/sukhpal/Data/Workspaces/J2EE Workspace/CollectionApp/build/classes/com/mut/service/common/Constants.class.
请帮忙。(Tomcat 在我的实时服务器上启用)。
以下是实时服务器的链接 http://mutmanager.com/webservice/groups.jsp