Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Servlet] 新建一个servlet类无法找到 #2

Open
zhonghuasheng opened this issue Mar 11, 2018 · 0 comments
Open

[Servlet] 新建一个servlet类无法找到 #2

zhonghuasheng opened this issue Mar 11, 2018 · 0 comments

Comments

@zhonghuasheng
Copy link
Owner

Exception:
java.lang.ClassNotFoundException: com.servlet.HelloServlet

有可能的原因是没有编译没有class文件,所以可以将思路放在为什么没有生成class文件,或者是说已有的class文件没有更新。
所以尝试了下:

  1. 清理project。选择project -> clean
  2. Build project。可以触发一次auto build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant