This week's book giveaways are in the iOS and Features new in Java 8 forums. We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line! See this thread and this one for details.
After updating the project changes i compiled the project as always. Then i took the war file and run it in Tomcat. But the project did not work when I try to log on. So looking at logs, i saw the following errors:
An error occurred at line: 9 in the generated java file
Only a type can be imported. xxx.config.MyConstantKeys resolves to a package
An error occurred at line: 5 in the jsp file: /pro/include/userarea-ext.jsp
MyConstantKeys.X_MENU_DICTIONARY cannot be resolved to a type
2: <%@ include file="../../share/include/taglibs.jsp" %>
3: <table id="Table_01" border="0" >
8: domMenu_settings.set('domMenu_main', new Hash(
2011-08-05 15:09:55,833 [TP-Processor3] ERROR CharsetFilter - javax.servlet.ServletException: Unable to compile class for JSP:
But after doing the rebuild, the program worked without error. But I'm a bit confused. Because most of the time it does not need to rebuid. Any thoughts???
PS: i use struts 1.x, intelliJIDEA 10 and apache-tomcat-5.5.26
Thanks in advance,