Discussion:
GS 2.2 compiler error
Benny Bräuer
2006-07-25 09:12:08 UTC
Permalink
Hi all,

I try to install the new version, but the compiler show this error:

[echo] Compiling core framework
[javac] Compiling 574 source files to
D:\Entwicklung\workspace\GridSphereDev\build\classes
[javac]
D:\Entwicklung\workspace\GridSphereDev\src\org\gridlab\gridsphere\core\persistence\hibernate\PersistenceManagerRdbmsImpl.java:22:
org.gridlab.gridsphere.core.persistence.hibernate.PersistenceManagerRdbmsImpl
is not abstract and does not override abstract method
count(java.lang.String) in
org.gridlab.gridsphere.core.persistence.PersistenceManagerRdbms
[javac] public class PersistenceManagerRdbmsImpl implements
PersistenceManagerRdbms {
[javac] ^
[javac]
D:\Entwicklung\workspace\GridSphereDev\src\org\gridlab\gridsphere\core\persistence\hibernate\SessionImpl.java:12:
org.gridlab.gridsphere.core.persistence.hibernate.SessionImpl is not
abstract and does not override abstract method
restoreList(java.lang.String,org.gridlab.gridsphere.core.persistence.QueryFilter)
in org.gridlab.gridsphere.core.persistence.Session
[javac] public class SessionImpl implements Session {
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors

I've just copied the new files in the old directory and start the
install - as with every update.

With kind regards,
Benny
--
*******************************************************
Dipl.-Wirt.-Inform.(FH) Benny Bräuer
C3-Grid Developing @ Computing and Data Centre
Alfred Wegener Institute for Polar and Marine Research
Am Handelshafen 12, 27570 Bremerhaven, Germany
Building E, Room 3025
eMail: ***@awi-bremerhaven.de
phone: +49(471)4831-1583
fax: +49(471)4831-1590
web: http://www.awi-bremerhaven.de/People/show?bbraeuer
*******************************************************
* Chuck Norris can slam a revolving door! *
*******************************************************
Jason Novotny
2006-07-25 10:04:47 UTC
Permalink
Hi Benny,

You're better off installing into a new Tomcat, or make sure you
wiped out all libs in shared/lib and even the gridsphere webapp.

Jason
Post by Benny Bräuer
Hi all,
[echo] Compiling core framework
[javac] Compiling 574 source files to
D:\Entwicklung\workspace\GridSphereDev\build\classes
[javac]
org.gridlab.gridsphere.core.persistence.hibernate.PersistenceManagerRdbmsImpl
is not abstract and does not override abstract method
count(java.lang.String) in
org.gridlab.gridsphere.core.persistence.PersistenceManagerRdbms
[javac] public class PersistenceManagerRdbmsImpl implements
PersistenceManagerRdbms {
[javac] ^
[javac]
org.gridlab.gridsphere.core.persistence.hibernate.SessionImpl is not
abstract and does not override abstract method
restoreList(java.lang.String,org.gridlab.gridsphere.core.persistence.QueryFilter)
in org.gridlab.gridsphere.core.persistence.Session
[javac] public class SessionImpl implements Session {
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors
I've just copied the new files in the old directory and start the
install - as with every update.
With kind regards,
Benny
Benny Bräuer
2006-07-25 11:48:25 UTC
Permalink
Hi Jason,

do you think Tomcat is the problem? The error occurs when I try to
compile it - need Gridsphere Tomcat ressources while the comiling process?
Nonetheless I deleted shared/lib and webapps/gridsphere, but with no
success.
I would like to avoid installing a new Tomcat.

With kind regards
Benny
Post by Jason Novotny
Hi Benny,
You're better off installing into a new Tomcat, or make sure you
wiped out all libs in shared/lib and even the gridsphere webapp.
Jason
--
*******************************************************
Dipl.-Wirt.-Inform.(FH) Benny Bräuer
C3-Grid Developing @ Computing and Data Centre
Alfred Wegener Institute for Polar and Marine Research
Am Handelshafen 12, 27570 Bremerhaven, Germany
Building E, Room 3025
eMail: ***@awi-bremerhaven.de
phone: +49(471)4831-1583
fax: +49(471)4831-1590
web: http://www.awi-bremerhaven.de/People/show?bbraeuer
*******************************************************
* Chuck Norris can slam a revolving door! *
*******************************************************
Jason Novotny
2006-07-25 12:04:27 UTC
Permalink
Yeah, I don't understand what you've done-- all I do is download it,
unpack it and then just try "ant compile" and it all works fine. Maybe
you have a classpath environment variable set or something else in your
environment is not right, possibly you have old gridsphere libraries in
your classpath somewhere.

Jason
Post by Benny Bräuer
Hi Jason,
do you think Tomcat is the problem? The error occurs when I try to
compile it - need Gridsphere Tomcat ressources while the comiling process?
Nonetheless I deleted shared/lib and webapps/gridsphere, but with no
success.
I would like to avoid installing a new Tomcat.
With kind regards
Benny
Post by Jason Novotny
Hi Benny,
You're better off installing into a new Tomcat, or make sure you
wiped out all libs in shared/lib and even the gridsphere webapp.
Jason
Oliver Wehrens
2006-07-25 13:07:22 UTC
Permalink
Hi,

that is a complete new unpacked gs 2.2 ? The method count in the
rdbms impl was introduced some versions ago and it should not be a
problem. Similiar problem with restoreList missing in the impl.

Oliver
Post by Jason Novotny
Hi Benny,
You're better off installing into a new Tomcat, or make sure you
wiped out all libs in shared/lib and even the gridsphere webapp.
Jason
Post by Benny Bräuer
Hi all,
[echo] Compiling core framework
[javac] Compiling 574 source files to D:\Entwicklung\workspace
\GridSphereDev\build\classes
[javac] D:\Entwicklung\workspace\GridSphereDev\src\org\gridlab
\gridsphere\core\persistence\hibernate
org.gridlab.gridsphere.core.persistence.hibernate.PersistenceManagerR
dbmsImpl is not abstract and does not override abstract method
count(java.lang.String) in
org.gridlab.gridsphere.core.persistence.PersistenceManagerRdbms
[javac] public class PersistenceManagerRdbmsImpl implements
PersistenceManagerRdbms {
[javac] ^
[javac] D:\Entwicklung\workspace\GridSphereDev\src\org\gridlab
org.gridlab.gridsphere.core.persistence.hibernate.SessionImpl is
not abstract and does not override abstract method restoreList
(java.lang.String,org.gridlab.gridsphere.core.persistence.QueryFilter
) in org.gridlab.gridsphere.core.persistence.Session
[javac] public class SessionImpl implements Session {
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors
I've just copied the new files in the old directory and start the
install - as with every update.
With kind regards,
Benny
_______________________________________________
Gridsphere-dev mailing list
https://www.gridlab.org/mailman/listinfo/gridsphere-dev
--
+49 170 785 1323
http://wehrens.net/oliver
Benny Bräuer
2006-07-25 14:31:43 UTC
Permalink
Hi all,

now it runs - after cleaning all mess from the way of the unzipped
folder to Tomcat. I think it was the fault of my Eclipse-Classpath -
even if I couldn't explain why 2.1.x-versions had no problems with it.
But thanks for your pieces of advice. :-)

With kind regards
Benny
Post by Oliver Wehrens
Hi,
that is a complete new unpacked gs 2.2 ? The method count in the
rdbms impl was introduced some versions ago and it should not be a
problem. Similiar problem with restoreList missing in the impl.
Oliver
--
*******************************************************
Dipl.-Wirt.-Inform.(FH) Benny Bräuer
C3-Grid Developing @ Computing and Data Centre
Alfred Wegener Institute for Polar and Marine Research
Am Handelshafen 12, 27570 Bremerhaven, Germany
Building E, Room 3025
eMail: ***@awi-bremerhaven.de
phone: +49(471)4831-1583
fax: +49(471)4831-1590
web: http://www.awi-bremerhaven.de/People/show?bbraeuer
*******************************************************
* Chuck Norris can slam a revolving door! *
*******************************************************
Continue reading on narkive:
Loading...