Welcome
I've got problem when building GlassFish. Problem occures while building
ejb-api.
I'm pasting ejb-api.log with the maven output.
System is Gentoo. Executing maven build with root rights ended with same
effect.
[java] Executing '/opt/jdk1.5.0_03/jre/bin/java' with arguments:
'-Xmx128M'
'-Dant.home=3D/jee5/pafcio00 /java.net/publish/glassfish/lib/ant'
'-classpath'
'/jee5/pafcio00/java.net/publish/glassfish/lib/ant/lib/ant-
1.5.3-1.jar:/jee5/pafcio00/java.net/publish/glassfish/lib/ant/lib/ant-optio=
nal-1.5.3-1.jar:/opt/jdk1.5.0_03/lib/tools.jar
'
'org.apache.tools.ant.Main'
'-f'
'/jee5/pafcio00/java.net/glassfish/ejb-api/build.xml'
'-Dglassfish.maven=3D/jee5/pafcio00/java.net/glassfish/bootstrap'
'-Dglassfish.home=3D/jee5/pafcio00/java.net/publish/glassfish'
'-Dbuild_id=3D'
The ' characters around the executable and arguments are
not part of the command.
[java] Buildfile: /jee5/pafcio00/java.net/glassfish/ejb-api/build.xml
[java]
[java] init:
[java] [echo] Building component ejb-api
[java]
[java] compile:
[java] [javac] Compiling 63 source files to
/jee5/pafcio00/java.net/glassfish/ejb-api/build
[java] [javac]
/jee5/pafcio00/java.net/glassfish/ejb-api/src/share/classes/javax/ejb/Sessi=
onContext.java:25:
package javax.xml.rpc.handler does not exist
[java] [javac] import javax.xml.rpc.handler.MessageContext;
[java] [javac] ^
[java] [javac]
/jee5/pafcio00/java.net/glassfish/ejb-api/src/share/classes/javax/ejb/Sessi=
onContext.java:89:
cannot find symbol
[java] [javac] symbol : class MessageContext
[java] [javac] location: interface javax.ejb.SessionContext
[java] [javac] MessageContext getMessageContext() throws
IllegalStateException;
[java] [javac] ^
[java] [javac] Note: * uses or overrides a deprecated API.
[java] [javac] Note: Recompile with -Xlint:deprecation for details=
.
[java] [javac] 2 errors
[java]
[java] BUILD FAILED
[java] file:/jee5/pafcio00/java.net/glassfish/ejb-api/build.xml:66:
Compile failed; see the compiler error output for details.
[java]
[java] Total time: 1 second
[java] Java Result: 1
Can somebody help me with this?