I get NoClassDefFoundError after refactor (rename) in NetBeans although there...
If you’re really sure that you didn’t do any error (such as mistypo) clearing NetBeans cache folder may help. It’s located in the following directory: “<user...
View ArticleHow to capture content of eclipse Console window (web tomcat application)?
The console window in eclipse has rather short ‘history’ and surprisingly the tomcat log file doesn’t appear anywhere on the hardrive when you run your application directly from eclipse. (Or it is...
View ArticleProblems using Eclipse IAM and Maven
During my last project I was involved, I used Eclipse IAM plugin for integration with Maven. It caused many problems, mainly Class not found exceptions and issues with Tomcat server. Generally I...
View ArticleI get NoClassDefFound for ContextLoaderListener class using Spring and...
My most common headache during my last Spring project was: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener during start of Tomcat. Every source pointed to...
View ArticleI get “Unable to locate the Javac Compiler” when trying to build using IAM...
Problem: When trying to build maven project using IAM under Eclipse I get an error like this: "Unable to locate the Javac Compiler in:C:\\Program Files\\Java\\jre6\..\\lib\\tools.jar Please ensure you...
View ArticleHow to configure Eclipse to debug Alfresco java webscript code
How to configure Eclipse to debug Alfresco java webscript code NOTE: It is assumed, that Eclipse environment has been configured to work with Alfresco SDK. If it’s not true the configuration process...
View ArticleCannot resolve symbol XYZ in IntelliJ although maven builds sources properly
Today I stumbled upon a weird problem with IntelliJ IDE. I had to update one of maven dependencies version, which introduced a new class I wanted to use. It was possible to build the project without...
View Article