Is anyone else getting an error when compiling the trunk code? Everything compiles fine in
Eclipse, but fails when running the ant 'jar' target using jdk1.5.0_11. Here is
the stacktrace:
[java] [javac] Compiling 17 source files to
C:\eclipsews\jboss-esb-trunk\JBossESB\build\classes\listeners
| [java] [javac]
C:\eclipsews\jboss-esb-trunk\JBossESB\core\listeners\src\org\jboss\soa\esb\listeners\config\Generator.java:107:
non-static variable this cannot be referenced from a static context
| [java] [javac] return new XMLBeansModel(doc);
| [java] [javac] ^
| [java] [javac] Note:
C:\eclipsews\jboss-esb-trunk\JBossESB\core\listeners\src\org\jboss\soa\esb\listeners\config\ServicePublisher.java
uses unchecked or unsafe operations.
| [java] [javac] Note: Recompile with -Xlint:unchecked for details.
| [java] [javac] 1 error
|
The code looks fine to me, but I am not sure how to get around the error.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035111#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...