代码报错
描述:本地没问题,放到服务器上就有问题了
代码实现
现在报这个错
NCManager cannot be resolved to a type
SAXBuilder cannot be resolved to a type
An error occurred at line: 152 in the jsp file: /文件夹/文件.jsp
Document cannot be resolved to a type
An error occurred at line: 146 in the jsp file: /文件夹/文件.jsp
SAXBuilder cannot be resolved to a type
143: //鍒涘缓鏂扮殑杈撳叆婧怱AX 瑙f瀽鍣ㄥ皢浣跨敤 InputSource 瀵硅薄鏉ョ‘瀹氬浣曡鍙? XML 杈撳叆
144: InputSource source = new InputSource(read);
145: //鍒涘缓涓?涓柊鐨凷AXBuilder
146: SAXBuilder sb = new SAXBuilder();
147:
148: try {
149:
An error occurred at line: 151 in the jsp file: /文件夹/文件.jsp
Document cannot be resolved to a type
148: try {
149:
150: //閫氳繃杈撳叆婧愭瀯閫犱竴涓狣ocument
151: Document doc = sb.build(source);
152: //鍙栫殑鏍瑰厓绱?
153: Element root = doc.getRootElement();
154: