You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dmitry Beransky <dm...@gmail.com> on 2008/12/06 01:29:09 UTC
Re: ConversionException
I wish I remembered since I just got this error again.
On Thu, Nov 6, 2008 at 5:44 AM, eznibe <en...@gmail.com> wrote:
>
> Hi,
>
> Did you find the problem, since im now getting the same exception
>
> thanks
>
>
>
>
>
> Dmitry Beransky-3 wrote:
>>
>> Hi,
>>
>> what could be causing this exception (in maven 2.0.9)?
>>
>> [INFO] Trace com.thoughtworks.xstream.converters.ConversionException:
>> dependenciesInfo : dependenciesInfo
>> ---- Debugging information ----
>> message : dependenciesInfo : dependenciesInfo
>> cause-exception :
>> com.thoughtworks.xstream.mapper.CannotResolveClassException
>> cause-message : dependenciesInfo : dependenciesInfo
>> class : org.apache.maven.plugin.war.util.WebappStructure
>> required-type : org.apache.maven.plugin.war.util.WebappStructure
>> path : /webapp-structure/dependenciesInfo
>> line number : 10
>> -------------------------------
>> at
>> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:63)
>> at
>> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
>> at
>> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
>> at
>> com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
>> at
>> com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)
>> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:846)
>>
>> Here's what the pom looks like:
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <project xmlns="http://maven.apache.org/POM/4.0.0"
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>> http://maven.apache.org/xsd/maven-4.0.0.xsd">
>> <modelVersion>4.0.0</modelVersion>
>> <artifactId>notificationWebUI</artifactId>
>> <packaging>war</packaging>
>>
>> <parent>
>> <groupId>service.notification</groupId>
>> <artifactId>notificationProject</artifactId>
>> <version>1.1.2-SNAPSHOT</version>
>> <relativePath>../pom.xml</relativePath>
>> </parent>
>>
>> <dependencies>
>> <dependency>
>> <groupId>${pom.groupId}</groupId>
>> <artifactId>notificationClient</artifactId>
>> <version>1.1.2-SNAPSHOT</version>
>> <scope>provided</scope>
>> </dependency>
>> </dependencies>
>> </project>
>>
>>
>> thanks
>> Dmitry
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/ConversionException-tp19730105p20361267.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: ConversionException
Posted by Martin raphael <hi...@yahoo.com>.
It looks like the issue happens because of the the Maven version
When I downgrade the version to "apache-maven-2.0.10" it is working fine. It
was an issue only you have the default Maven on eclipse
To change this
Eclipse - > Window -Preference -Maven -Installations -> Click Add and select
the Maven installation folder and check the new one and select "OK"
--
View this message in context: http://old.nabble.com/ConversionException-tp19730105p28270449.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: ConversionException
Posted by mlavannis <ml...@yahoo.com>.
I ran a "maven clean" and that seems to have resolved this problem.
--
View this message in context: http://www.nabble.com/ConversionException-tp19730105p24283588.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: ConversionException
Posted by Jörg Schaible <jo...@gmx.de>.
Chris Lacy wrote:
>
>
> The problem seems to have magically gone away. My guess is that it
> started working after I cleaned my test project.
as long as the war plugin uses an xstream version < 1.3.0 it can happen
every time again.
- Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: ConversionException
Posted by Chris Lacy <cl...@ebay.com>.
The problem seems to have magically gone away. My guess is that it started
working after I cleaned my test project.
Chris
Chris Lacy wrote:
>
>
> I'm having the same problem, also (Eclipse plugin executing on
> MavenEmbedder). Did y'all ever figure this one out?
>
> Chris
>
>
> Jörg Schaible-2 wrote:
>>
>> Hi Dmitry,
>>
>> Dmitry Beransky wrote:
>>
>>> I wish I remembered since I just got this error again.
>>
>> Please open an issue for the war-plugin.
>>
>> - Jörg
>>
>>>
>>> On Thu, Nov 6, 2008 at 5:44 AM, eznibe <en...@gmail.com> wrote:
>>>>
>>>> Hi,
>>>>
>>>> Did you find the problem, since im now getting the same exception
>>>>
>>>> thanks
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> Dmitry Beransky-3 wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> what could be causing this exception (in maven 2.0.9)?
>>>>>
>>>>> [INFO] Trace com.thoughtworks.xstream.converters.ConversionException:
>>>>> dependenciesInfo : dependenciesInfo
>>>>> ---- Debugging information ----
>>>>> message : dependenciesInfo : dependenciesInfo
>>>>> cause-exception :
>>>>> com.thoughtworks.xstream.mapper.CannotResolveClassException
>>>>> cause-message : dependenciesInfo : dependenciesInfo
>>>>> class : org.apache.maven.plugin.war.util.WebappStructure
>>>>> required-type : org.apache.maven.plugin.war.util.WebappStructure
>>>>> path : /webapp-structure/dependenciesInfo
>>>>> line number : 10
>>>>> -------------------------------
>>>>> at
>>>>>
>> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:63)
>>>>> at
>>>>>
>> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
>>>>> at
>>>>>
>> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
>>>>> at
>>>>>
>> com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
>>>>> at
>>>>>
>> com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)
>>>>> at
>>>>> com.thoughtworks.xstream.XStream.unmarshal(XStream.java:846)
>>>>>
>>>>> Here's what the pom looks like:
>>>>>
>>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>>> <project xmlns="http://maven.apache.org/POM/4.0.0"
>>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>>>>> http://maven.apache.org/xsd/maven-4.0.0.xsd">
>>>>> <modelVersion>4.0.0</modelVersion>
>>>>> <artifactId>notificationWebUI</artifactId>
>>>>> <packaging>war</packaging>
>>>>>
>>>>> <parent>
>>>>> <groupId>service.notification</groupId>
>>>>> <artifactId>notificationProject</artifactId>
>>>>> <version>1.1.2-SNAPSHOT</version>
>>>>> <relativePath>../pom.xml</relativePath>
>>>>> </parent>
>>>>>
>>>>> <dependencies>
>>>>> <dependency>
>>>>> <groupId>${pom.groupId}</groupId>
>>>>> <artifactId>notificationClient</artifactId>
>>>>> <version>1.1.2-SNAPSHOT</version>
>>>>> <scope>provided</scope>
>>>>> </dependency>
>>>>> </dependencies>
>>>>> </project>
>>>>>
>>>>>
>>>>> thanks
>>>>> Dmitry
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/ConversionException-tp19730105p20361267.html Sent
>>>> from the Maven - Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/ConversionException-tp19730105p21465930.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: ConversionException
Posted by Chris Lacy <cl...@ebay.com>.
I'm having the same problem, also (Eclipse plugin executing on
MavenEmbedder). Did y'all ever figure this one out?
Chris
Jörg Schaible-2 wrote:
>
> Hi Dmitry,
>
> Dmitry Beransky wrote:
>
>> I wish I remembered since I just got this error again.
>
> Please open an issue for the war-plugin.
>
> - Jörg
>
>>
>> On Thu, Nov 6, 2008 at 5:44 AM, eznibe <en...@gmail.com> wrote:
>>>
>>> Hi,
>>>
>>> Did you find the problem, since im now getting the same exception
>>>
>>> thanks
>>>
>>>
>>>
>>>
>>>
>>> Dmitry Beransky-3 wrote:
>>>>
>>>> Hi,
>>>>
>>>> what could be causing this exception (in maven 2.0.9)?
>>>>
>>>> [INFO] Trace com.thoughtworks.xstream.converters.ConversionException:
>>>> dependenciesInfo : dependenciesInfo
>>>> ---- Debugging information ----
>>>> message : dependenciesInfo : dependenciesInfo
>>>> cause-exception :
>>>> com.thoughtworks.xstream.mapper.CannotResolveClassException
>>>> cause-message : dependenciesInfo : dependenciesInfo
>>>> class : org.apache.maven.plugin.war.util.WebappStructure
>>>> required-type : org.apache.maven.plugin.war.util.WebappStructure
>>>> path : /webapp-structure/dependenciesInfo
>>>> line number : 10
>>>> -------------------------------
>>>> at
>>>>
> com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:63)
>>>> at
>>>>
> com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
>>>> at
>>>>
> com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
>>>> at
>>>>
> com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
>>>> at
>>>>
> com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)
>>>> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:846)
>>>>
>>>> Here's what the pom looks like:
>>>>
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>> <project xmlns="http://maven.apache.org/POM/4.0.0"
>>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>>>> http://maven.apache.org/xsd/maven-4.0.0.xsd">
>>>> <modelVersion>4.0.0</modelVersion>
>>>> <artifactId>notificationWebUI</artifactId>
>>>> <packaging>war</packaging>
>>>>
>>>> <parent>
>>>> <groupId>service.notification</groupId>
>>>> <artifactId>notificationProject</artifactId>
>>>> <version>1.1.2-SNAPSHOT</version>
>>>> <relativePath>../pom.xml</relativePath>
>>>> </parent>
>>>>
>>>> <dependencies>
>>>> <dependency>
>>>> <groupId>${pom.groupId}</groupId>
>>>> <artifactId>notificationClient</artifactId>
>>>> <version>1.1.2-SNAPSHOT</version>
>>>> <scope>provided</scope>
>>>> </dependency>
>>>> </dependencies>
>>>> </project>
>>>>
>>>>
>>>> thanks
>>>> Dmitry
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: users-help@maven.apache.org
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/ConversionException-tp19730105p20361267.html Sent
>>> from the Maven - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/ConversionException-tp19730105p21448513.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: ConversionException
Posted by Jörg Schaible <jo...@gmx.de>.
Hi Dmitry,
Dmitry Beransky wrote:
> I wish I remembered since I just got this error again.
Please open an issue for the war-plugin.
- Jörg
>
> On Thu, Nov 6, 2008 at 5:44 AM, eznibe <en...@gmail.com> wrote:
>>
>> Hi,
>>
>> Did you find the problem, since im now getting the same exception
>>
>> thanks
>>
>>
>>
>>
>>
>> Dmitry Beransky-3 wrote:
>>>
>>> Hi,
>>>
>>> what could be causing this exception (in maven 2.0.9)?
>>>
>>> [INFO] Trace com.thoughtworks.xstream.converters.ConversionException:
>>> dependenciesInfo : dependenciesInfo
>>> ---- Debugging information ----
>>> message : dependenciesInfo : dependenciesInfo
>>> cause-exception :
>>> com.thoughtworks.xstream.mapper.CannotResolveClassException
>>> cause-message : dependenciesInfo : dependenciesInfo
>>> class : org.apache.maven.plugin.war.util.WebappStructure
>>> required-type : org.apache.maven.plugin.war.util.WebappStructure
>>> path : /webapp-structure/dependenciesInfo
>>> line number : 10
>>> -------------------------------
>>> at
>>>
com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:63)
>>> at
>>>
com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
>>> at
>>>
com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
>>> at
>>>
com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:117)
>>> at
>>>
com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.unmarshal(ReferenceByXPathMarshallingStrategy.java:29)
>>> at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:846)
>>>
>>> Here's what the pom looks like:
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <project xmlns="http://maven.apache.org/POM/4.0.0"
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
>>> http://maven.apache.org/xsd/maven-4.0.0.xsd">
>>> <modelVersion>4.0.0</modelVersion>
>>> <artifactId>notificationWebUI</artifactId>
>>> <packaging>war</packaging>
>>>
>>> <parent>
>>> <groupId>service.notification</groupId>
>>> <artifactId>notificationProject</artifactId>
>>> <version>1.1.2-SNAPSHOT</version>
>>> <relativePath>../pom.xml</relativePath>
>>> </parent>
>>>
>>> <dependencies>
>>> <dependency>
>>> <groupId>${pom.groupId}</groupId>
>>> <artifactId>notificationClient</artifactId>
>>> <version>1.1.2-SNAPSHOT</version>
>>> <scope>provided</scope>
>>> </dependency>
>>> </dependencies>
>>> </project>
>>>
>>>
>>> thanks
>>> Dmitry
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/ConversionException-tp19730105p20361267.html Sent
>> from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org