dev@glassfish.java.net

Re: Build Problem

From: Cheng Fang <Cheng.Fang_at_Sun.COM>
Date: Wed, 14 Dec 2005 08:27:03 -0500 (EST)

This class javax.xml.rpc.MessageContext is in
${glassfish.home}/lib/javaee.jar. Try 'maven -X build' see what the prop
value for javaee.jar is. Did you run 'maven bootstrap' in bootstrap
directory first? You may also want to check your project.properties or $HOME/build.properties.

Cheng Fang x23555 (781)442-3555

On Wed, 14 Dec 2005, Pawel Chlopek wrote:

> 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?
>