Hi again,
I replaced the web.xml with the one that comes from binaries and it
worked but I found the following problem:
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.pluto.services.PlutoServices'
defined in ServletContext resource
[/WEB-INF/assembly/pluto-services.xml]: Cannot resolve reference to bean
'org.apache.pluto.services.EventCoordinationService' while setting
constructor argument; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.pluto.services.EventCoordinationService'
defined in ServletContext resource
[/WEB-INF/assembly/pluto-services.xml]: Instantiation of bean failed;
nested exception is
org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class
[org.apache.jetspeed.events.EventCoordinationServiceImpl]: Constructor
threw exception; nested exception is java.lang.Error: Unresolved
compilation problems:
Access restriction: The type JAXBContext is not accessible due to
restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The type JAXBElement<T> is not accessible due to
restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The type JAXBException is not accessible due to
restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The type Marshaller is not accessible due to
restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The type Unmarshaller is not accessible due to
restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The type XMLInputFactory is not accessible due to
restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The type XMLStreamReader is not accessible due to
restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The type JAXBContext is not accessible due to
restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The type JAXBContext is not accessible due to
restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The method newInstance(Class[]) from the type
JAXBContext is not accessible due to restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The type Marshaller is not accessible due to
restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The method createMarshaller() from the type
JAXBContext is not accessible due to restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The type JAXBElement<Serializable> is not
accessible due to restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The constructor JAXBElement(QName, Class, Object)
is not accessible due to restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The type JAXBElement<T> is not accessible due to
restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The method marshal(Object, Writer) from the type
Marshaller is not accessible due to restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The type JAXBException is not accessible due to
restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The type XMLStreamReader is not accessible due to
restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The type XMLInputFactory is not accessible due to
restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The method newInstance() from the type
XMLInputFactory is not accessible due to restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The method createXMLStreamReader(Reader) from the
type XMLInputFactory is not accessible due to restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The type JAXBContext is not accessible due to
restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The type JAXBContext is not accessible due to
restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The method newInstance(Class[]) from the type
JAXBContext is not accessible due to restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The type Unmarshaller is not accessible due to
restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The method createUnmarshaller() from the type
JAXBContext is not accessible due to restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The type JAXBElement<T> is not accessible due to
restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The method unmarshal(XMLStreamReader,
Class<capture#20-of ? extends Serializable>) from the type Unmarshaller
is not accessible due to restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Access restriction: The method getValue() from the type JAXBElement is
not accessible due to restriction on required
library /usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar
Any help on this also?
El jue, 12-11-2009 a las 13:52 +0100, Gonzalo Aguilar Delgado escribió:
> Hi,
>
> I followed all directions given in
> http://portals.apache.org/jetspeed-2/buildguide/maven-2-build.html
>
> but I found that when deployed the web.xml only contains this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns="http://java.sun.com/xml/ns/javaee"
> xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
> xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID"
> version="2.5">
> <display-name>jetspeed-demo</display-name>
> <welcome-file-list>
> <welcome-file>index.html</welcome-file>
> <welcome-file>index.htm</welcome-file>
> <welcome-file>index.jsp</welcome-file>
> <welcome-file>default.html</welcome-file>
> <welcome-file>default.htm</welcome-file>
> <welcome-file>default.jsp</welcome-file>
> </welcome-file-list>
> </web-app>
>
>
> As this is not the correct web.xml what's the step I missed.
>
> Thank you!
>
>