While trying to run a roo project with maven command I got an error saying "Missing com . sun : tools : jar : 1.4 . 2" When I investigated the reason i found that it due to Java version(i.e 1.6) and Linux 64 bit. Then I installed Sun Java 5 on my system and changed default jdk. After this when I run the maven to run the program I got the following error Exception in thread "main" java.lang.NoClassDefFoundError: javax/tools/JavaFileManager I felt that may be due to https://jira.springsource.org/browse/ROO-224 So I again changed my JDK to Sun JDK 6 aand run the program.No the program magically started running.
A Blog where I add my content