cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas John ...@net-lab.net>
Subject RE: Can't build Cocoon 2.0.1
Date Tue, 19 Feb 2002 13:29:07 GMT
Hi!

My $0.02: Use the cvs-version. I had exactly the same problem like you.
The cvs-version solved my problem.

Rgds.,
Andreas

--On Dienstag, 19. Februar 2002 12:36 +0000 fred.tsang@widelearning.com wrote:

>
> Nael,
>
> I get the same compile problems using:
>
> jdk 1.4.0
> linux - kernel 2.4.17
>
> This looks more like a class problem, not an install path problem.  To repeat, the root
error looks like:
> cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\components\language\markup\xsp\EsqlConnection.java:22:
class
> org.apache.cocoon.components.language.markup.xsp.EsqlConnection must  be declared abstract.
It does not define void setHoldability(int) from
> interface java.sql.Connection.
> Cheers,
> Fred
>
> -----Original Message-----
> From: Nael Mohammad [mailto:nmohammad@good.com]
> Sent: 16 February 2002 12:40
> To: 'cocoon-users@xml.apache.org'
> Subject: RE: Can't build Cocoon 2.0.1
>
>
> Jan,
>
> Specify the full path of your tomcat directory or just ".\build.bat -Dinclude.webapp.libs=yes
webapp " and then just copy the cocoon.war file to
> your tomcat webapp directory and restart tomcat and go to http://localhost:8080/cocoon
and you should see the cocoon hell page.
>
> -Nael
> -----Original Message-----
> From: Jan Normann Nielsen [mailto:cocoon@dubbekarl.dk]
> Sent: Saturday, February 16, 2002 4:31 AM
> To: Cocoon-users
> Subject: Can't build Cocoon 2.0.1
>
> Hello
>
> I can't build Cocoon 2.0.1 with Win 2K/JDK 1.4 RC/Ant 1.4.1. The errors are included
below. I use the following command from the INSTALL file to
> build:
>
> .\build.bat -Dinclude.webapp.libs=yes -Dinstall.war=%TOMCAT_HOME%\webapps
> webapp
>
> Best regards,
> Jan Nielsen
>
> P.S. I have no problem building Cocoon 2.0 in the same environment.
>
> Errors:
>
> compile:
>      [copy] Copying 27 files to E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\classes
>      [echo] Compiling with Java 1.4, debug on, optimize off, deprecation off
>     [javac] Compiling 391 source files to E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\c
>
> lasses
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnection.java:22: class org.apache.cocoon.components.language.markup.xsp.EsqlConnection
must  be declared abstract. It
> does not define void setHoldability(int) from interface java.sql.Connection.
>
>     [javac] public class EsqlConnection implements Connection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnection.java:22: class org.apache.cocoon.components.language.markup.xsp.EsqlConnection
must  be declared abstract. It
> does not define int getHoldability() from interface java.sql.Connection.
>
>     [javac] public class EsqlConnection implements Connection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnection.java:22: class org.apache.cocoon.components.language.markup.xsp.EsqlConnection
must  be declared abstract. It
> does not define java.sql.PreparedStatement prepareStatement(java.lang.String, int, int,
int) f rom interface java.sql.Connection.
>
>     [javac] public class EsqlConnection implements Connection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnection.java:22: class org.apache.cocoon.components.language.markup.xsp.EsqlConnection
must  be declared abstract. It
> does not define java.sql.PreparedStatement prepareStatement(java.lang.String, int) from
interf ace java.sql.Connection.
>
>     [javac] public class EsqlConnection implements Connection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnection.java:22: class org.apache.cocoon.components.language.markup.xsp.EsqlConnection
must  be declared abstract. It
> does not define java.sql.PreparedStatement prepareStatement(java.lang.String, int[])
from inte rface java.sql.Connection.
>
>     [javac] public class EsqlConnection implements Connection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnection.java:22: class org.apache.cocoon.components.language.markup.xsp.EsqlConnection
must  be declared abstract. It
> does not define java.sql.PreparedStatement prepareStatement(java.lang.String, java.lang.String
>
> []) from interface java.sql.Connection.
>     [javac] public class EsqlConnection implements Connection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnection.java:22: class org.apache.cocoon.components.language.markup.xsp.EsqlConnection
must  be declared abstract. It
> does not define java.sql.Statement createStatement(int, int, int) from interface java.sql.Conn
ection.
>
>     [javac] public class EsqlConnection implements Connection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnection.java:22: class org.apache.cocoon.components.language.markup.xsp.EsqlConnection
must  be declared abstract. It
> does not define void
>
> releaseSavepoint(java.sql.Savepoint) from interface java.sql.Connection.
>     [javac] public class EsqlConnection implements Connection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnection.java:22: class org.apache.cocoon.components.language.markup.xsp.EsqlConnection
must  be declared abstract. It
> does not define void rollback(java.sql.Savepoint) from interface java.sql.Connection.
>
>     [javac] public class EsqlConnection implements Connection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnection.java:22: class org.apache.cocoon.components.language.markup.xsp.EsqlConnection
must  be declared abstract. It
> does not define java.sql.CallableStatement prepareCall(java.lang.String, int, int, int)
from i nterface java.sql.Connection.
>
>     [javac] public class EsqlConnection implements Connection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnection.java:22: class org.apache.cocoon.components.language.markup.xsp.EsqlConnection
must  be declared abstract. It
> does not define java.sql.Savepoint setSavepoint() from interface java.sql.Connection.
>
>     [javac] public class EsqlConnection implements Connection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnection.java:22: class org.apache.cocoon.components.language.markup.xsp.EsqlConnection
must  be declared abstract. It
> does not define java.sql.Savepoint
>
> setSavepoint(java.lang.String) from interface java.sql.Conn ection.
>     [javac] public class EsqlConnection implements Connection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnectionCocoon2.java:20: class org.apache.cocoon.components.language.markup.xsp.EsqlConnecti
>
> onCocoon2 must be declared abstract. It does not define void
> setHoldability(int) from interface java.sql.Connection.
>     [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnectionCocoon2.java:20: class org.apache.cocoon.components.language.markup.xsp.EsqlConnecti
>
> onCocoon2 must be declared abstract. It does not define int getHoldability() from interface
java.sql.Connection.
>     [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnectionCocoon2.java:20: class org.apache.cocoon.components.language.markup.xsp.EsqlConnecti
>
> onCocoon2 must be declared abstract. It does not define java.sql.PreparedStatement prepareStatement(java.lang.String,
in t, int, int) from
> interface java.sql.Connection.
>
>     [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnectionCocoon2.java:20: class org.apache.cocoon.components.language.markup.xsp.EsqlConnecti
>
> onCocoon2 must be declared abstract. It does not define java.sql.PreparedStatement prepareStatement(java.lang.String,
in
>
> t) from interface java.sql.Connection.
>     [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnectionCocoon2.java:20: class org.apache.cocoon.components.language.markup.xsp.EsqlConnecti
>
> onCocoon2 must be declared abstract. It does not define java.sql.PreparedStatement prepareStatement(java.lang.String,
in
>
> t[]) from interface java.sql.Connection.
>     [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnectionCocoon2.java:20: class org.apache.cocoon.components.language.markup.xsp.EsqlConnecti
>
> onCocoon2 must be declared abstract. It does not define java.sql.PreparedStatement prepareStatement(java.lang.String,
ja
>
> va.lang.String[]) from interface java.sql.Connection.
>     [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnectionCocoon2.java:20: class org.apache.cocoon.components.language.markup.xsp.EsqlConnecti
>
> onCocoon2 must be declared abstract. It does not define java.sql.Statement createStatement(int,
int, int) from interface  java.sql.Connection.
>
>     [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnectionCocoon2.java:20: class org.apache.cocoon.components.language.markup.xsp.EsqlConnecti
>
> onCocoon2 must be declared abstract. It does not define void
> releaseSavepoint(java.sql.Savepoint) from interface java.sq l.Connection.
>     [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnectionCocoon2.java:20: class org.apache.cocoon.components.language.markup.xsp.EsqlConnecti
>
> onCocoon2 must be declared abstract. It does not define void
> rollback(java.sql.Savepoint) from interface java.sql.Connec tion.
>     [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnectionCocoon2.java:20: class org.apache.cocoon.components.language.markup.xsp.EsqlConnecti
>
> onCocoon2 must be declared abstract. It does not define java.sql.CallableStatement prepareCall(java.lang.String,
int, in t, int) from interface
> java.sql.Connection.
>
>     [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnectionCocoon2.java:20: class org.apache.cocoon.components.language.markup.xsp.EsqlConnecti
>
> onCocoon2 must be declared abstract. It does not define java.sql.Savepoint
> setSavepoint() from interface java.sql.Connec
> tion.
>     [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
>     [javac]              ^
>     [javac] E:\Instdsk\Java-ting\Cocoon 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build\cocoon\src\org\apache\cocoon\compo
> nent
> s\language\markup\xsp\EsqlConnectionCocoon2.java:20: class org.apache.cocoon.components.language.markup.xsp.EsqlConnecti
>
> onCocoon2 must be declared abstract. It does not define java.sql.Savepoint
> setSavepoint(java.lang.String) from interface  java.sql.Connection.
>     [javac] public class EsqlConnectionCocoon2 extends EsqlConnection {
>     [javac]              ^
>     [javac] 24 errors
>
> BUILD FAILED
>
> E:\Instdsk\Java-ting\Cocoon
> 2.0.1\cocoon-2.0.1-src\cocoon-2.0.1\build.xml:787: Compile failed, messages should have
been  provided.
>
> Total time: 2 minutes 42 seconds
>
>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the FAQ before posting.
<http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
>
> Legal Disclaimer
>
> This message contains confidential information and is intended only for
>
> the individual named. If you are not the named addressee you should not disseminate,
distribute or copy this e-mail. Please notify the sender
> immediately by e-mail if you have received this e-mail by mistake and delete this e-mail
from your system.
>
> mail transmission cannot be guaranteed to be secure or error-free as
>
> information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete,
or contain viruses. The sender therefore does not accept
> liability for any errors or omissions in the contents of this message that arise as a
result of e-mail transmission. If verification is required
> please request a hard-copy version. This message is provided for informational purposes
only.
>
> our website at: http://www.widelearning.com
>
> Wide Learning is a trading name of Wide Multimedia Ltd Registered office:
>
> 33-41 Dallington Street, London EC1V 0BB
>
> Company number: 3339664 VAT number: 690 8399 83



net-lab internetworkers | internet@net-lab.net | tel +49 69 8236386-3 | fax -2
Andreas John | aj@net-lab.net | Hdls: JOHN-RIPE | Offenbach, Germany

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message