Skip to Content.
Sympa Menu

shibboleth-dev - "cannot find symbol" when building java-idp

Subject: Shibboleth Developers

List archive

"cannot find symbol" when building java-idp


Chronological Thread 
  • From: Peter Schober <>
  • To:
  • Subject: "cannot find symbol" when building java-idp
  • Date: Thu, 20 Nov 2008 16:50:17 +0100
  • Organization: Vienna University Computer Center

Trying to build the current REL_2 branch of java-idp-main fails with
"cannot find symbol", "package ... does not exist" and other errors,
after successfully having built the REL_2 branch of java-opensaml2-main.

I did everything as noted in the wiki
https://spaces.internet2.edu/display/SHIB2/SourceAccess#SourceAccess-BuildingtheJavaSourceCode
and the working copy is up to date (checkout was made immediately
before the build).

The maven command used was
[java-idp-main]$ mvn -DskipTests -Dmaven.test.skip=true clean install

From a quick glance everything opensaml-wise needed should be in
~/.m2/repository/ but I know nothing about maven.
Here's the first few errors from maven:

[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure

/usr/local/src/shib2_build/java-idp-main/java-idp/src/main/java/edu/internet2/middleware/shibboleth/idp/authn/LoginContextEntry.java:[20,32]
cannot find symbol
symbol : class AbstractExpiringObject
location: package org.opensaml.util.storage

/usr/local/src/shib2_build/java-idp-main/java-idp/src/main/java/edu/internet2/middleware/shibboleth/idp/authn/LoginContextEntry.java:[23,39]
cannot find symbol
symbol: class AbstractExpiringObject
public class LoginContextEntry extends AbstractExpiringObject {

/usr/local/src/shib2_build/java-idp-main/java-idp/src/main/java/edu/internet2/middleware/shibboleth/idp/session/impl/SessionManagerImpl.java:[35,85]
package
edu.internet2.middleware.shibboleth.common.util.EventingMapBasedStorageService
does not exist

/usr/local/src/shib2_build/java-idp-main/java-idp/src/main/java/edu/internet2/middleware/shibboleth/idp/session/impl/SessionManagerImpl.java:[36,85]
package
edu.internet2.middleware.shibboleth.common.util.EventingMapBasedStorageService
does not exist

/usr/local/src/shib2_build/java-idp-main/java-idp/src/main/java/edu/internet2/middleware/shibboleth/idp/session/impl/SessionManagerEntry.java:[39,32]
cannot find symbol
symbol : class AbstractExpiringObject
location: package org.opensaml.util.storage

etc.

Any pointers?

Also note that https://subversion.switch.ch/svn/shibboleth/ currently
does not want to play:

$ svn ls https://subversion.switch.ch/svn/shibboleth/java-idp-main
svn: PROPFIND request failed on '/svn/shibboleth/java-idp-main'
svn: Could not open the requested SVN filesystem

cheers,
-peter

--

- vienna university computer center
Universitaetsstrasse 7, A-1010 Wien, Austria/Europe
Tel. +43-1-4277-14155, Fax. +43-1-4277-9140



Archive powered by MHonArc 2.6.16.

Top of Page