Gxt cannot compile automatically. What's the issue?

by kpkmd54461 on 2012-02-15 22:11:49

Here is the translation of your text into English:

---

I followed the instructions in [http://www.iteye.com/topic/288162](http://www.iteye.com/topic/288162) to create a web project and run it using Tomcat, but it doesn't automatically compile. I encountered a `NoSuchMethodError`, and every time, I have to clean everything before I can run it—this is really frustrating! After searching online, I found many resources that mention slow compilation, but I haven't seen any cases where it simply couldn't compile.

**Note:** I am sure I enabled Eclipse's automatic build feature. The issue only occurred because when I first created the project, I temporarily disabled the automatic build feature and cleaned the project once according to the instructions.

**Error Message:** `Caused by: java.lang.ClassNotFoundException:`

---

### Solutions Provided:

1. **Did you check the "Build Automatically" option in Eclipse?**

2. **Reference Material:**

If Eclipse does not automatically compile JSP files into Tomcat after modification, you may refer to this link for troubleshooting:

[Eclipse JSP Modification Does Not Automatically Compile to Tomcat](http://www.myexception.cn/java-web/173067.html)

---

### Related Topics:

1. Why doesn't `ResultSet.TYPE_SCROLL_SENSITIVE` work? Solution provided.

2. Android status bar-related issues.

3. Why does MyEclipse 9.0 add an extra class name when parsing classes? Solution provided.

---

If you need further clarification or additional details on any specific part, feel free to ask!