在我的java servlet项目中,我使用了ajax,在那里我使用了gson jar文件、.without IDE、kali linux中的Eclipse作为操作系统。the classpath is correct and when i use the same program in Eclipse it works well (here i entered the servlet-api.jarand WEB/lib/* to include all files)编译我的程序,但我遇到了这个错误
我尝试使用java servlet加载包含多行文本的文本文件的内容。从文件中读取文本(简化):StringBuilder data = new StringBuilder();
BufferedReaderServlet是在Linux上编写和编译的,但我在Windows上运行它(在JBoss上)。文本文件也存储在我的机器上。