[jboss-dev] Compilation error

tuxdna tuxdna at gmail.com
Fri Jun 27 07:56:57 EDT 2008


Hi,


I am getting error while compiling JBoss.

I checked out the code like so:
svn co http://anonsvn.jboss.org/repos/jbossas/trunk jboss-head

Then I used maven to compile the code:
cd jboss-head
mvn -e -f pom.xml compile


[INFO] ------------------------------------------------------------------------
[INFO] Building JBoss Application Server Security
[INFO]    task-segment: [compile]
[INFO] ------------------------------------------------------------------------
[INFO] [enforcer:enforce {execution: enforce-versions}]
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 53 source files to
/home/saleem/work/jboss/jboss-head/security/target/classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

...
...
security/src/main/org/jboss/security/ssl/DomainServerSocket.java:[35,28]
package javassist.util.proxy does not exist

security/src/main/org/jboss/security/ssl/DomainServerSocket.java:[46,14]
cannot find symbol
symbol: class MethodHandler
   implements MethodHandler, HandshakeCompletedListener

security/src/main/org/jboss/security/ssl/DomainServerSocketFactory.java:[40,28]
package javassist.util.proxy does not exist



I had set the java CLASSPATH variable to include the javassist.jar
file. Then also the error is occuring.

Somebody please suggest how to add the javassist.jar file to
class-path so that I don't get these compilation errors. How do I add
it to build.xml or pom.xml ?


Thanks



More information about the jboss-development mailing list