Subject | build failed on cannot resolve symbol - constructor ResourceException(...) |
---|---|
Author | tsangccn |
Post date | 2002-10-15T05:33:04Z |
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
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