I ran mvn clean compile in the jena-fuseki2 directory and got the following
[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Apache Jena - Fuseki 2(SPARQL 1.1 Server) 2.0.0.beta-1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ jena-fuseki --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce) @ jena-fuseki --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-java) @ jena-fuseki --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ jena-fuseki --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ jena-fuseki --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 8 resources [INFO] Copying 1 resource [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ jena-fuseki --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 105 source files to /home/claude/git/jena/jena-fuseki2/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /home/claude/git/jena/jena-fuseki2/src/main/java/org/apache/jena/fuseki/servlets/HttpAction.java:[27,26] package javax.servlet.http does not exist followed by a listing of 99 similar errors. Maven info: Apache Maven 3.0.5 Maven home: /usr/share/maven Java version: 1.8.0_25, vendor: Oracle Corporation Java home: /usr/lib/jvm/java-8-oracle/jre Default locale: en_IE, platform encoding: UTF-8 OS name: "linux", version: "3.13.0-37-generic", arch: "amd64", family: "unix" I changed the fuseki2 pom file as follows: 1. changed name to read "Fuseki 2" to distinguish is from the Fuseki 1 build when building all of Jena. 2. changed the parent version from 11-SNAPSHOT to 12-SNAPSHOT to reflect the version actually in the parent directory. No change. I removed my existing ~/.m2/repository to force a download off all referenced components and the build worked. Must have been something in my local repository. Claude On Sat, Oct 18, 2014 at 12:59 PM, Andy Seaborne <[email protected]> wrote: > On 17/10/14 23:17, Claude Warren wrote: > >> I have checked out the complete Jena tree but it does not build. >> >> The fuseki2 build seems to be missing the javax.servlet package. When I >> tried to add javax.servlet to the POM the package was not found, though >> mvnrepository.com lists it as existing. In addition the jetta-webapp jar >> contains a pom.xml that imports javax.servlet.*;version="[2.6.0,3.2]",* >> >> Any idea how to fix this? >> >> Claude >> >> > It's building in Jenkins; > > https://repository.apache.org/content/repositories/ > snapshots/org/apache/jena/jena-fuseki/2.0.0.beta-1-SNAPSHOT/ > > mvn dependency:tree shows me: > > > [INFO] org.apache.jena:jena-fuseki:jar:2.0.0.beta-1-SNAPSHOT > > ... > > [INFO] +- org.eclipse.jetty:jetty-webapp:jar:9.1.1.v20140108:compile > [INFO] | +- org.eclipse.jetty:jetty-xml:jar:9.1.1.v20140108:compile > [INFO] | \- org.eclipse.jetty:jetty-servlet:jar:9.1.1.v20140108:compile > [INFO] | \- org.eclipse.jetty:jetty-security:jar:9.1.1.v20140108: > compile > [INFO] | \- org.eclipse.jetty:jetty-server:jar:9.1.1.v20140108: > compile > [INFO] | \- javax.servlet:javax.servlet-api:jar:3.1.0:compile > > so maven should pull in the dependencies. > > what do you get? > what's in your maven repo? > > Andy > > -- I like: Like Like - The likeliest place on the web <http://like-like.xenei.com> LinkedIn: http://www.linkedin.com/in/claudewarren
