Setup development environment using java-idp-testbed

森谷鴻平 kmoriya at sios.com
Wed Apr 11 22:27:13 EDT 2018


Greetings,

I would like to setup Shibboleth 3.3.2 development environment using
java-idp-testbed,
but jetty throws "Missing referenced dependency: server" error.

Based on the following help, I tried process below:

https://wiki.shibboleth.net/confluence/display/IDP30/DevelopmentEnvironmentSetup

1. Clone java-identity-provider, java-idp-testbed, and java-idp-jetty-base
from git
$ git clone -b 3.3.2 git://git.shibboleth.net/java-identity-provider.git
$ git clone git://git.shibboleth.net/java-idp-testbed.git
$ git clone -b 9.3 git://git.shibboleth.net/java-idp-jetty-base.git

2. Build java-identity-provider
$ cd java-identity-provider/idp-parent
$ mvn -DskipTests -Dmaven.javadoc.disable=1 clean install

3. Import idp-parent (and children), java-idp-testbed, and
java-idp-jetty-base to Eclipse Oxygen

4. Make empty directory
"${workspace_loc:java-idp-testbed}\src\main\resources\logs"

5. Change launch file "${workspace_loc:java-idp-testbed}\idp-testbed.launch"
- <stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY"
value="${workspace_loc:idp-jetty-base/src/main/resources/jetty-base}"/>
+ <stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY"
value="${workspace_loc:java-idp-jetty-base/src/main/resources/jetty-base}"/>

6. Run Main.java in java-idp-testbed as Java Application


Here is the error messages from Eclipse console:

> WARNING: Cannot enable requested module [ext]: not a valid module name.
> WARNING: Cannot enable requested module [server]: not a valid module name.
> WARNING: Cannot enable requested module [requestlog]: not a valid module
name.
> WARNING: Cannot enable requested module [jsp]: not a valid module name.
> WARNING: Cannot enable requested module [annotations]: not a valid module
name.
> WARNING: Cannot enable requested module [resources]: not a valid module
name.
> WARNING: Cannot enable requested module [ssl]: not a valid module name.
> WARNING: Cannot enable requested module [plus]: not a valid module name.
> WARNING: Cannot enable requested module [deploy]: not a valid module name.
> WARNING: Cannot enable requested module [jstl]: not a valid module name.
> WARNING: Cannot enable requested module [servlets]: not a valid module
name.
> WARNING: Cannot enable requested module [logging]: not a valid module
name.
> WARNING: Cannot enable requested module [http]: not a valid module name.
> WARNING: Cannot enable requested module [https]: not a valid module name.
> org.eclipse.jetty.start.graph.GraphException: Missing referenced
dependency: server
> org.eclipse.jetty.start.graph.GraphException: Missing referenced
dependency: server
> at org.eclipse.jetty.start.graph.Graph.selectNodes(Graph.java:470)
> at org.eclipse.jetty.start.graph.Graph.selectNode(Graph.java:447)
> at org.eclipse.jetty.start.graph.Graph.selectNode(Graph.java:415)
> at org.eclipse.jetty.start.Main.processCommandLine(Main.java:302)
> at org.eclipse.jetty.start.Main.main(Main.java:74)
> at Main.main(Main.java:25)
>
> Usage: java -jar start.jar [options] [properties] [configs]
>        java -jar start.jar --help  # for more information

Do you have any help to solve the problem?

Thanks,

--
------------------------------------------------------
    Kohei Moriya

    Software Engineer
    Application Consulting Group
    Engineering Dept. 2
    SIOS Technology, Inc.
------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20180412/b8a67ea5/attachment.html>


More information about the dev mailing list