Home  >  Article  >  Java  >  Summary of some common error and exception handling methods in Java

Summary of some common error and exception handling methods in Java

高洛峰
高洛峰Original
2017-01-05 15:01:351838browse

Some common mistakes and solutions. I am a novice, and I have recorded every error I encounter.

1. 404 error

description The requested resource (/Struts2_0100_Introduction/hello.action) is not available.

Check the Manager Deployments first so that it can be opened (NullPointerException occurs cannot be opened), the main reason is that the server backs up before each permission, and cannot correct the error in time after modifying it. (If Backup is checked, change it to delete)

Summary of some common error and exception handling methods in Java

2. Error configuring application listener of class org.springframework.web.context.ContextLoaderListener

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener

The port is written wrong, the port is 3306, I wrote

Summary of some common error and exception handling methods in Java

instead of 8080

Summary of some common error and exception handling methods in Java

Summary of some common error and exception handling methods in Java

Summary of some common error and exception handling methods in Java

Summary of some common error and exception handling methods in Java

##More Java some common error exceptions Please pay attention to the PHP Chinese website for related articles summarizing processing methods!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn