How to get Java 1.5, maven 1.0.2 and aspectj 1.5 to work together [message #591742] |
Wed, 11 January 2006 19:41 |
Steve Kuo Messages: 14 Registered: July 2009 |
Junior Member |
|
|
I have an maven 1.0.2 based project that is compiling well under jdk
1.4.2_07 and aspectj 1.5. However, when I changed the java compiler to
jdk 1.5.0_04, I got the following errors. The interesting part was that
eclipse 3.1.1 was perfectly happy with these files but they would not
compile under maven 1.0.2. I have a bunch of jelly code in maven.xml that
would have to change to work under maven 2.0 that I perfer not to do right
now. It's also not clear whether aspectj plugin works for maven 2.0.
Thanks in advance for all your help.
java:prepare-filesystem:
[mkdir] Created dir: /home/skuo/sandbox/matchmaker/target/classes
warning couldn't find aspectjrt.jar on classpath, checked:
/home/skuo/sandbox/matchmaker/src/java/com/eharmony/matchmak er/common/jms/JMSQueueStats.java:354
error Unhandled exception type IOException
outputBuffer.append(c);
^^^^^^^^^^^^^
/home/skuo/sandbox/matchmaker/src/java/com/eharmony/matchmak er/common/hibernate/HibernateUtils.java:79
error The type AbstractStringBuilder is not visible
StringBuffer logMessage = new StringBuffer().append("Overriding Hibernate
properties with contents of ")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^
|
|
|
Powered by
FUDForum. Page generated in 0.02692 seconds