Anlr. Collections. Ast. Getline () I exception
Struts + hibernate + springProblems frequently encountered in projects
Because struts comes with the antlr-2.7.2.jar, than hibernate3.3 comes with anlr-
2.7.6.jar must be of a low version, so the previous earlier version must be deleted.
Core libraries to delete the antlr-2.7.2.jar alone is not possible, fuck must put
The entire database can be killed.
Method 1:
1: Window --> perferences --> Search struts2 --> struts2 core Libraries
Antlr-2.7.2.jar inRemove and add hibernate
Antlr-2.7.6.jar in
2.Then romove the original struts2Libraries, just add the new library
3.If the program is already running, you also need to delete the antlr-2.7.2.jar under Tomcat
Method 2:
1. romoveOriginal struts2Libraries
2. Build pathStruts2 core Libraries
In addition-
2.7.2.jar. Therefore, the data \ 2.1 \ core package
Remove antlr-2.7.2.jar (this is
2.1)
Okay, this is removed from struts1.3 and 2.1, because the two jar files are
Chinese garbled characters