【发布时间】:2016-05-19 06:12:44
【问题描述】:
这是第一类 myservlet.java 我正在调用它来使用另一个名为 compute.java 的代码进行计算,该代码调用函数整个操作是通过 bcak 端的 R 代码完成的 tht 文件的链接在计算中给出类。
一个名为 ClassNotFoundException 的错误正在中断程序。
MyServlet.java
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException //this where i am getting the error
Compute c=new Compute(a1,a2); //sometimes error is mentioned here
我在这两行代码中遇到了一个错误
【问题讨论】:
-
发布完整的堆栈跟踪和完整的代码 MyServlet 和 Compute 类会让别人更容易帮助你。
标签: java classnotfoundexception