db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Florent <eflor...@devaki.org>
Subject Re: 'class' or 'interface' expected
Date Sat, 15 Nov 2003 12:47:46 GMT
Check you classes parent's class specially the class who causes the 1st
error.
Any baseClass should extend org.apache.torque.om.BaseObject or any class
wich extend it.
Any basePeer should extend org.apache.torque.util.BasePeer only.

Thank You for your contribution. I'll addf it ti the FAQ.

EF

On Fri, 2003-11-14 at 22:13, Vikas Phonsa wrote:
> Hi, I am trying to compile the java source code generated by Torque and I
> get lots of errors as given below. And I have made sure all the jars are in
> class path.
> 
> And ideas ?
> 
> Thanks
> 
> ----------------------------Errors-------------------------
> 
> 
> C:\Downloads\Torque\torque-3.0\src\java\pitchers\torque\BaseGame.java:828:
> 'class' or 'interface' expected
>     [javac] package pitchers.torque;
>     [javac] ^
>     [javac]
> C:\Downloads\Torque\torque-3.0\src\java\pitchers\torque\BaseGame.java:831:
> 'class' or 'interface' expected
>     [javac] import java.math.BigDecimal;
>     [javac] ^
>     [javac]
> C:\Downloads\Torque\torque-3.0\src\java\pitchers\torque\BaseGame.java:832:
> 'class' or 'interface' expected
>     [javac] import java.sql.Connection;
>     [javac] ^
>     [javac]
> C:\Downloads\Torque\torque-3.0\src\java\pitchers\torque\BaseGame.java:833:
> 'class' or 'interface' expected
>     [javac] import java.util.ArrayList;
>     [javac] ^
>     [javac]
> C:\Downloads\Torque\torque-3.0\src\java\pitchers\torque\BaseGame.java:834:
> 'class' or 'interface' expected
>     [javac] import java.util.Date;
>     [javac] ^
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
> 
> 
> 

Mime
View raw message