You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Ksypolitos Nikos <ks...@cti.gr> on 2006/02/08 14:03:31 UTC

Problem with HeaderResourceFactory when building Jetspeed from source

Hello to all,

 

I have download from the cvs the latest Jetspeed 2 source code. When I
try to compile (following all the instructions from the site using the
Maven), I came in an error with HeaderResourceFactory. The error message
is:

java:compile:

    [echo] Compiling to
/export/spare/home/xypolit/rep/jetspeed-2.0-src/components/header-resour
ce/target/classes

    [javac] Compiling 2 source files to
/export/spare/home/xypolit/rep/jetspeed-2.0-src/components/header-resour
ce/target/classes

    [javac]
/export/spare/home/xypolit/rep/jetspeed-2.0-src/components/header-resour
ce/src/java/org/apache/jetspeed/headerresource/impl/HeaderResourceFactor
yImpl.java:23: cannot find symbol

    [javac] symbol  : class HeaderResourceFactory

    [javac] location: package org.apache.jetspeed.headerresource

    [javac] import
org.apache.jetspeed.headerresource.HeaderResourceFactory;

    [javac]                                           ^

    [javac]
/export/spare/home/xypolit/rep/jetspeed-2.0-src/components/header-resour
ce/src/java/org/apache/jetspeed/headerresource/impl/HeaderResourceFactor
yImpl.java:34: cannot find symbol

    [javac] symbol: class HeaderResourceFactory

    [javac] public class HeaderResourceFactoryImpl implements
HeaderResourceFactory

    [javac]                                                   ^

    [javac] 2 errors

 

BUILD FAILED

File...... /export/spare/home/xypolit/rep/jetspeed-2.0-src/maven.xml

Element... maven:reactor

Line...... 164

Column.... 108

Unable to obtain goal [java:compile] --
/root/.maven/cache/maven-java-plugin-1.5/plugin.jelly:63:48: <ant:javac>
Compile failed; see the compiler error output for details.

Total time: 2 minutes 2 seconds

Finished at: Wed Feb 08 14:22:28 EET 2006

 

 

Can anyone help with this one? I try to comment all the
HeaderResourceFactoryImp.java to see if the rest of the compile
procedure works and indeed it works fine. I have configure the MySQL
Database (with a minor change in
$jetspeedsource/etc/schema/security-schema.xml file for having my
database in MySQL Server 4.0.21) and build it through Maven without any
problem, but when I try to start Tomcat I get a Jetspeed Initialization
Error which source is the comments I put in
HeaderResourceFactoryImp.java (absolutely logical).

 

So can anyone have an idea about the problem in
HeaderResourceFactoryImp.java during the compilation procedure? 

 

Thanks in advanced

 

 

Xypolitos Nikolaos

--------------------------------------------------------

Computer Engineer & Informatics

Research Academic Computer Technology Institute (RACTI)

Patras - Greece

Tel.: (+30)2610-960426

Email: ksypolit@cti.gr