Skip to Content.
Sympa Menu

shibboleth-dev - Re: [Shib-Dev] "cannot find symbol" when building java-idp

Subject: Shibboleth Developers

List archive

Re: [Shib-Dev] "cannot find symbol" when building java-idp


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: [Shib-Dev] "cannot find symbol" when building java-idp
  • Date: Thu, 20 Nov 2008 16:54:44 +0100
  • Openpgp: id=146B2514
  • Organization: SWITCH

Hmm... that error would be caused if it couldn't find the OpenWS
library in your local repository. can you very that that library is
present?

Peter Schober wrote:
> 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
>

--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Net Services
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
,
http://www.switch.ch




Archive powered by MHonArc 2.6.16.

Top of Page