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 Jose Luis Granda <jl...@gmail.com> on 2006/03/11 02:13:52 UTC
Build and Install all Jetspeed 2 jars Jetspeed-2 Core API Fail. RegistrationException and PortletApplication class no fount.
Hi from Ecuador
How I put the jetspeed-api-2.0.jar at CLASSPATH? Which file I would modify?
Please help me, when I executed maven allBuild get the next error:
+----------------------------------------
| Build and Install all Jetspeed 2 jars Jetspeed-2 Core API
| Memory: 19M/26M
+----------------------------------------
build:end:
jetspeed2:jar:install:
build:start:
java:prepare-filesystem:
[mkdir] Created dir: C:\jolug\dev\jetspeed-2.0-src\jetspeed-api\target\class
es
java:compile:
[echo] Compiling to C:\jolug\dev\jetspeed-2.0-src\jetspeed-api/target/classe
s
[javac] Compiling 252 source files to C:\jolug\dev\jetspeed-2.0-src\jetspeed
-api\target\classes
[javac] C:\jolug\dev\jetspeed-2.0-src\jetspeed-api\src\java\org\apache\jetsp
eed\administration\PortalAdministration.java:62: cannot find symbol
[javac] symbol : class RegistrationException
[javac] location: interface org.apache.jetspeed.administration.PortalAdminis
tration
[javac] throws RegistrationException;
[javac] ^
[javac] C:\jolug\dev\jetspeed-2.0-src\jetspeed-api\src\java\org\apache\jetsp
eed\administration\PortalAdministration.java:71: cannot find symbol
[javac] symbol : class RegistrationException
[javac] location: interface org.apache.jetspeed.administration.PortalAdminis
tration
[javac] throws RegistrationException;
[javac] ^
[javac] C:\jolug\dev\jetspeed-2.0-src\jetspeed-api\src\java\org\apache\jetsp
eed\om\common\portlet\MutablePortletApplication.java:41: cannot find symbol
[javac] symbol: class PortletApplication
[javac] public interface MutablePortletApplication extends PortletApplicatio
n, Serializable
[javac] ^
[javac] C:\jolug\dev\jetspeed-2.0-src\jetspeed-api\src\java\org\apache\jetsp
eed\factory\PortletFactory.java:22: cannot find symbol
[javac] symbol : class PortletApplication
[javac] location: package org.apache.jetspeed.om.common.portlet
[javac] import org.apache.jetspeed.om.common.portlet.PortletApplication;
[javac] ^
[javac] C:\jolug\dev\jetspeed-2.0-src\jetspeed-api\src\java\org\apache\jetsp
eed\factory\PortletFactory.java:39: cannot find symbol
[javac] symbol : class PortletApplication
[javac] location: interface org.apache.jetspeed.factory.PortletFactory
[javac] void registerPortletApplication(PortletApplication pa, ClassLoad
er paClassLoader);
[javac] ^
[javac] C:\jolug\dev\jetspeed-2.0-src\jetspeed-api\src\java\org\apache\jetsp
eed\factory\PortletFactory.java:40: cannot find symbol
[javac] symbol : class PortletApplication
[javac] location: interface org.apache.jetspeed.factory.PortletFactory
[javac] void unregisterPortletApplication(PortletApplication pa);
[javac] ^
[javac] C:\jolug\dev\jetspeed-2.0-src\jetspeed-api\src\java\org\apache\jetsp
eed\factory\PortletFactory.java:41: cannot find symbol
[javac] symbol : class PortletApplication
[javac] location: interface org.apache.jetspeed.factory.PortletFactory
[javac] boolean isPortletApplicationRegistered(PortletApplication pa);
[javac] ^
[javac] C:\jolug\dev\jetspeed-2.0-src\jetspeed-api\src\java\org\apache\jetsp
eed\factory\PortletFactory.java:42: cannot find symbol
[javac] symbol : class PortletApplication
[javac] location: interface org.apache.jetspeed.factory.PortletFactory
[javac] ClassLoader getPortletApplicationClassLoader(PortletApplication
pa);
[javac] ^
[javac] C:\jolug\dev\jetspeed-2.0-src\jetspeed-api\src\java\org\apache\jetsp
eed\page\document\DocumentHandler.java:43: cannot find symbol
[javac] symbol : class DocumentHandlerFactory
[javac] location: interface org.apache.jetspeed.page.document.DocumentHandle
r
[javac] DocumentHandlerFactory getHandlerFactory();
[javac] ^
[javac] C:\jolug\dev\jetspeed-2.0-src\jetspeed-api\src\java\org\apache\jetsp
eed\page\document\DocumentHandler.java:45: cannot find symbol
[javac] symbol : class DocumentHandlerFactory
[javac] location: interface org.apache.jetspeed.page.document.DocumentHandle
r
[javac] void setHandlerFactory(DocumentHandlerFactory factory);
[javac] ^
[javac] C:\jolug\dev\jetspeed-2.0-src\jetspeed-api\src\java\org\apache\jetsp
eed\profiler\rules\ProfilingRule.java:80: cannot find symbol
[javac] symbol : class RuleCriterionResolver
[javac] location: interface org.apache.jetspeed.profiler.rules.ProfilingRule
[javac] RuleCriterionResolver getResolver(String name);
[javac] ^
[javac] C:\jolug\dev\jetspeed-2.0-src\jetspeed-api\src\java\org\apache\jetsp
eed\profiler\rules\ProfileResolvers.java:26: cannot find symbol
[javac] symbol : class RuleCriterionResolver
[javac] location: interface org.apache.jetspeed.profiler.rules.ProfileResolv
ers
[javac] RuleCriterionResolver get(String resolverName);
[javac] ^
[javac] C:\jolug\dev\jetspeed-2.0-src\jetspeed-api\src\java\org\apache\jetsp
eed\mockobjects\MockHttpServletRequest.java:257: warning: [deprecation] isReques
tedSessionIdFromUrl() in javax.servlet.http.HttpServletRequest has been deprecat
ed
[javac] public boolean isRequestedSessionIdFromUrl()
[javac] ^
[javac] C:\jolug\dev\jetspeed-2.0-src\jetspeed-api\src\java\org\apache\jetsp
eed\mockobjects\MockHttpServletRequest.java:483: warning: [deprecation] getRealP
ath(java.lang.String) in javax.servlet.ServletRequest has been deprecated
[javac] public String getRealPath( String arg0 )
[javac] ^
[javac] 12 errors
[javac] 2 warnings
BUILD FAILED
File...... C:\jolug\dev\jetspeed-2.0-src\maven.xml
Element... maven:reactor
Line...... 164
Column.... 108
Unable to obtain goal [java:compile] -- C:\Documents and Settings\jolug\.maven\c
ache\maven-java-plugin-1.5\plugin.jelly:63:48: <ant:javac> Compile failed; see t
he compiler error output for details.
Total time: 4 minutes 46 seconds
Finished at: Fri Mar 10 19:57:06 COT 2006
Please Help me.
--
José Luis Granda
CaciqueLabs
593 7 2561652
http://caciquelabs.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Build and Install all Jetspeed 2 jars Jetspeed-2 Core API Fail.
RegistrationException and PortletApplication class no fount.
Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od Jose Luis Granda z 2006-03-13 13:59 brzmiala:
> I run maven from root directory. I don't know what happend, I think
> it's related with not inclution of jeetsped-api into classpath. I'm
> using Windows XP and J2SDK 1.5.06.
I understood that you were running maven from the src/java subdirectory.
Anyway, it's rather funny to include in the classpath
jeetsped-api-xxx.jar if you are trying to build it, don't you think ;)?
> I try to install from install_MultiDB package, the setup proccess was
> rigth. But when a try to run at browser, I get.
>
> Failed to find the JPT Factory on portlet initialization
I've never seen this error before.
--
pozdrawiam,
Jacek Wislicki
jacek.wislicki@gmail.com
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Build and Install all Jetspeed 2 jars Jetspeed-2 Core API Fail. RegistrationException and PortletApplication class no fount.
Posted by Jose Luis Granda <jl...@gmail.com>.
Hi, Jacek.
I run maven from root directory. I don't know what happend, I think
it's related with not inclution of jeetsped-api into classpath. I'm
using Windows XP and J2SDK 1.5.06.
I try to install from install_MultiDB package, the setup proccess was
rigth. But when a try to run at browser, I get.
Failed to find the JPT Factory on portlet initialization
2006/3/10, Jacek Wiślicki <ja...@gmail.com>:
> Wiadomosc od Jacek Wiślicki z 2006-03-11 03:03 brzmiala:
>
> >> When I run maven -o allBuild, the output show dependences, and the
> >> classpath used for this goal.
> > And one more thing - as far as I know (but I may be wrong), 'allBuild'
> > goal should be run from the top-level source directory. For partial
> > builds run just 'maven' in a subproject directory.
> In your case, the subproject direcotry is
> C:\jolug\dev\jetspeed-2.0-src\jetspeed-api, do not go any deeper so that
> maven sees its local configuration files.
>
> --
> pozdrawiam,
> Jacek Wislicki
>
> jacek.wislicki@gmail.com
> tel.: +48 502 408 444
> gg: 2540358
> skype: jacek_wislicki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
--
José Luis Granda
CaciqueLabs
593 7 2561652
http://caciquelabs.blogspot.com/
Re: Build and Install all Jetspeed 2 jars Jetspeed-2 Core API Fail.
RegistrationException and PortletApplication class no fount.
Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od Jacek Wiślicki z 2006-03-11 03:03 brzmiala:
>> When I run maven -o allBuild, the output show dependences, and the
>> classpath used for this goal.
> And one more thing - as far as I know (but I may be wrong), 'allBuild'
> goal should be run from the top-level source directory. For partial
> builds run just 'maven' in a subproject directory.
In your case, the subproject direcotry is
C:\jolug\dev\jetspeed-2.0-src\jetspeed-api, do not go any deeper so that
maven sees its local configuration files.
--
pozdrawiam,
Jacek Wislicki
jacek.wislicki@gmail.com
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Build and Install all Jetspeed 2 jars Jetspeed-2 Core API Fail.
RegistrationException and PortletApplication class no fount.
Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od Jose Luis Granda z 2006-03-11 02:53 brzmiala:
> When I run maven -o allBuild, the output show dependences, and the
> classpath used for this goal.
And one more thing - as far as I know (but I may be wrong), 'allBuild'
goal should be run from the top-level source directory. For partial
builds run just 'maven' in a subproject directory.
--
pozdrawiam,
Jacek Wislicki
jacek.wislicki@gmail.com
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Build and Install all Jetspeed 2 jars Jetspeed-2 Core API Fail.
RegistrationException and PortletApplication class no fount.
Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od Jose Luis Granda z 2006-03-11 02:53 brzmiala:
> In me local repository exists the org.apache.portals.jetspeed-2 folder
> with all jars. There are the file 27 files and exists
> jetspeed-api-2.0.jar.
Isn't it corrupted? Maybe delete it and let downloading it again.
--
pozdrawiam,
Jacek Wislicki
jacek.wislicki@gmail.com
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: Build and Install all Jetspeed 2 jars Jetspeed-2 Core API Fail. RegistrationException and PortletApplication class no fount.
Posted by Jose Luis Granda <jl...@gmail.com>.
Thank's for you request Jacek.
In me local repository exists the org.apache.portals.jetspeed-2 folder
with all jars. There are the file 27 files and exists
jetspeed-api-2.0.jar.
When I run maven -o allBuild, the output show dependences, and the
classpath used for this goal.
[javac] [VERBOSE] Compilation arguments:
'-deprecation'
'-d'
'C:\jolug\dev\jetspeed-2.0-src\jetspeed-api\target\classes'
'-classpath'
'C:\jolug\dev\jetspeed-2.0-src\jetspeed-api\target\classes;C:\Documents
and Settings\jolug\.maven\repository\org.apache.pluto\jars\pluto-1.0.1.jar;C:\Documents
and Settings\jolug\.maven\repository\portlet-api\jars\portlet-api-1.0.jar;C:\Documents
and Settings\jolug\.maven\repository\servletapi\jars\servletapi-2.3.jar;C:\maven-1.0.2\lib\forehead-1.0-beta-5.jar'
'-sourcepath'
'C:\jolug\dev\jetspeed-2.0-src\jetspeed-api\src\java'
'-target'
'1.4'
'-g'
'-source'
'1.4'
the jetspeed-api-2.0.jar. file don't appear in the classpath generate by maven
2006/3/10, Jacek Wiślicki <ja...@gmail.com>:
> Wiadomosc od Jose Luis Granda z 2006-03-11 02:13 brzmiala:
>
> > How I put the jetspeed-api-2.0.jar at CLASSPATH? Which file I would modify?
> Maven should download all necessary dependencies for you. Try running
> 'maven eclipse' - this goal is used for preparing all dependencies for
> building with Eclipse, so if it succeeds the required JARs should appear
> in your local repository.
>
> --
> pozdrawiam,
> Jacek Wislicki
>
> jacek.wislicki@gmail.com
> tel.: +48 502 408 444
> gg: 2540358
> skype: jacek_wislicki
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-user-help@portals.apache.org
>
>
--
José Luis Granda
CaciqueLabs
593 7 2561652
http://caciquelabs.blogspot.com/
Re: Build and Install all Jetspeed 2 jars Jetspeed-2 Core API Fail.
RegistrationException and PortletApplication class no fount.
Posted by Jacek Wiślicki <ja...@gmail.com>.
Wiadomosc od Jose Luis Granda z 2006-03-11 02:13 brzmiala:
> How I put the jetspeed-api-2.0.jar at CLASSPATH? Which file I would modify?
Maven should download all necessary dependencies for you. Try running
'maven eclipse' - this goal is used for preparing all dependencies for
building with Eclipse, so if it succeeds the required JARs should appear
in your local repository.
--
pozdrawiam,
Jacek Wislicki
jacek.wislicki@gmail.com
tel.: +48 502 408 444
gg: 2540358
skype: jacek_wislicki
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org