Subject | Re: build failed on cannot resolve symbol - constructor ResourceException(...) |
---|---|
Author | Roman Rokytskyy |
Post date | 2002-10-15T06:43:26Z |
Hi,
I just checked it on my computer and found no problems with build.
Note, J2EE classes are automatically checked out from the CVS tree
from JBoss project. At this point CVS must be available to Ant. Ensure
that you have CVS installed and cvs.exe (if running Windows) is
available through the %PATH% env. variable.
Another possible problem is that you have client-java/thirdparty
directory but it does not contain any sources. However messages in
build script should be different.
Best regards,
Roman Rokytskyy
I just checked it on my computer and found no problems with build.
Note, J2EE classes are automatically checked out from the CVS tree
from JBoss project. At this point CVS must be available to Ant. Ensure
that you have CVS installed and cvs.exe (if running Windows) is
available through the %PATH% env. variable.
Another possible problem is that you have client-java/thirdparty
directory but it does not contain any sources. However messages in
build script should be different.
Best regards,
Roman Rokytskyy
--- In Firebird-Java@y..., "tsangccn" <tsang_cn@c...> wrote:
> Hello
>
> I have checkout the firebird jca driver from CVS
> but when I run build.sh (on Red Hat 7.3), it fails with the following
> messages
>
> Buildfile: build.xml
>
> init:
>
> compile-concurrent:
> [unjar] Expanding:
> /home/tsang/firebird/client-java/src/lib/concurrent.jar into
> /home/tsang/firebird/client-java/output/concurrent
>
> checkout-j2ee:
>
> compile-j2ee:
>
> compile-driver:
> [javac] Compiling 12 source files to
> /home/tsang/firebird/client-java/output/classes
> [javac] This version of java does not support the classic
> compiler; upgrading to modern
> [javac]
>
/home/tsang/firebird/client-java/src/main/org/firebirdsql/jca/FBResourceException.java:47:
> cannot resolve symbol
> [javac] symbol : constructor ResourceException ()
> [javac] location: class javax.resource.ResourceException
> [javac] super();
> [javac] ^
> [javac]
>
/home/tsang/firebird/client-java/src/main/org/firebirdsql/jca/FBResourceException.java:59:
> cannot resolve symbol
> [javac] symbol : constructor ResourceException
> (java.lang.String,java.lang.Exception)
> [javac] location: class javax.resource.ResourceException
> [javac] super(string, original);
> [javac] ^
> [javac]
>
/home/tsang/firebird/client-java/src/main/org/firebirdsql/jca/FBResourceException.java:64:
> cannot resolve symbol
> [javac] symbol : constructor ResourceException
(java.lang.Exception)
> [javac] location: class javax.resource.ResourceException
> [javac] super(original);
> [javac] ^
> [javac]
>
/home/tsang/firebird/client-java/src/main/org/firebirdsql/jdbc/FBPreparedStatement.java:59:
> warning: setUnicodeStream(int,java.io.InputStream,int) in
> java.sql.PreparedStatement has been deprecated
> [javac] public class FBPreparedStatement extends FBStatement
> implements PreparedStatement {
> [javac] ^
> [javac] 3 errors
> [javac] 1 warning
>
> BUILD FAILED
> file:/home/tsang/firebird/client-java/build.xml:196: Compile failed;
> see the compiler error output for details.
>
> Total time: 18 seconds
>
> Please help
> Thanks
> CN