Skip to main content

Build fails

3 replies [Last post]
mariso
Offline
Joined: 2005-06-14

[java] compile-server:
[java] [echo] Compiling com/sun/ejb, com/sun/ejb
[java] [javac] Compiling 230 source files to D:\Projects\workspace\glassfish\appserv-core\build
[java] [javac] Note: * uses or overrides a deprecated API.
[java] [javac] Note: Recompile with -Xlint:deprecation for details.
[java] [javac] Note: Some input files use unchecked or unsafe operations.
[java] [javac] Note: Recompile with -Xlint:unchecked for details.
[java] [echo] Compiling com/sun/web, com/sun/jndi, com/sun/enterprise
[java] [javac] Compiling 566 source files to D:\Projects\workspace\glassfish\appserv-core\build
[java] [javac] D:\Projects\workspace\glassfish\appserv-core\src\java\com\sun\enterprise\repository\GenericConverter.java:1
85: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[java] [javac] cast to java.lang.Object for a varargs call
[java] [javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
[java] [javac] Object value = method.invoke(resource, emptyArgs);
[java] [javac] ^
[java] [javac] D:\Projects\workspace\glassfish\appserv-core\src\java\com\sun\enterprise\server\ServerContextImpl.java:369:
warning: non-varargs call of varargs method with inexact argument type for last parameter;
[java] [javac] cast to java.lang.Class for a varargs call
[java] [javac] cast to java.lang.Class[] for a non-varargs call and to suppress this warning
[java] [javac] final java.lang.reflect.Method m = c.getMethod(METHOD, null);
[java] [javac] ^
[java] [javac] D:\Projects\workspace\glassfish\appserv-core\src\java\com\sun\enterprise\server\ServerContextImpl.java:370:
warning: non-varargs call of varargs method with inexact argument type for last parameter;
[java] [javac] cast to java.lang.Object for a varargs call
[java] [javac] cast to java.lang.Object[] for a non-varargs call and to suppress this warning
[java] [javac] final MonitoringRegistry r = (MonitoringRegistry) m.invoke(c, null);
[java] [javac] ^
[java] [javac] D:\Projects\workspace\glassfish\appserv-core\src\java\com\sun\enterprise\webservice\JAXWSServlet.java:119:
cannot find symbol
[java] [javac] symbol : method createJaxrpcConnection(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServle
tResponse)
[java] [javac] location: class com.sun.xml.ws.spi.runtime.JaxRpcRtObjectFactory
[java] [javac] JaxrpcConnection connection = rpcFactory_.createJaxrpcConnection(request, response);
[java] [javac] ^
[java] [javac] Note: * uses or overrides a deprecated API.
[java] [javac] Note: Recompile with -Xlint:deprecation for details.
[java]
[java] BUILD FAILED
[java] [javac] Note: Some input files use unchecked or unsafe operations.
[java] [javac] Note: Recompile with -Xlint:unchecked for details.
[java] [javac] 1 error
[java] [javac] 3 warnings
[java] D:\Projects\workspace\glassfish\appserv-core\compile.xml:184: Compile failed; see the compiler error output for details
.
[java]
[java] Total time: 44 seconds
[java] [ERROR] Java Result: 1

BUILD FAILED
File...... D:\Projects\workspace\glassfish\glassfish\maven.xml
Element... fail
Line...... 62
Column.... 32
No message

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
dpatil
Offline
Joined: 2005-02-03

can you please send the command sequence you tried when you got this error? is it first time you are trying to build or after making any of your local changes?

mariso
Offline
Joined: 2005-06-14

cvs -d :pserver:MarisO@cvs.dev.java.net:/cvs checkout glassfish/glassfish

cd glassfish/glassfish
maven checkout
maven bootstrap
maven build

It's first time I'm trying to do a build.

I have modified only project.properties

# The OS used
glassfish.os.name=WINNT
glassfish.cvs.username=MarisO
glassfish.cvsroot=:pserver:${glassfish.cvs.username}@cvs.dev.java.net:/cvs
glassfish.cvstag=
glassfish.cvs.project=glassfish
glassfish.cvs.module=glassfish
glassfish.root=D:/Projects/workspace

carlavmott
Offline
Joined: 2005-02-10

Looks like what you are doing is correct. Possibly the jar file got corrupted?? Known build problems have been fixed so can you try this again?

Thanks,
Carla