You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stefan Rademacher <Ra...@hhla.de> on 2005/12/16 10:48:01 UTC

XDoclet-Problem: This artifact has been relocated to javax.servlet:servlet-api:2.3

Hello,

I am trying to get the xdoclet-maven-plugin 1.0-alpha-1 working. But a
"mvn package" ends up with the following error messages:

---------------------------------------------------------------------------------------------------------------------------------
...
[INFO] Building hhla.smd.bl
[INFO]    task-segment: [package]
[INFO]
----------------------------------------------------------------------------
[INFO] snapshot de.hhla.smd:hhla.smd.provider:1.0-beta-1-SNAPSHOT:
checking for updates from mavenrepo
[WARNING]
  This artifact has been relocated to javax.servlet:servlet-api:2.3.


[INFO]
----------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] null
[INFO]
----------------------------------------------------------------------------
[INFO] Trace
java.lang.AbstractMethodError
        at
org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.configure(ComponentValueSetter.java:247)
        at
org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWi
thFieldsConverter.java:137)
        at
org.codehaus.plexus.component.configurator.BasicComponentConfigurator.configureComponent(BasicComponentConfigurator.jav
a:56)
        at
org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1038)
        at
org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:563)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:377)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
        at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 17 seconds
[INFO] Finished at: Fri Dec 16 09:42:25 CET 2005
[INFO] Final Memory: 5M/10M
[INFO]
----------------------------------------------------------------------------

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


I already resolved one error, that came up because of a wrong
dependency to the commons-logging.
I don't understand the message "This artifact has been relocated to
javax.servlet:servlet-api:2.3.". Where is the origin of this error? Here
is the xml of the xdoclet plugin in my pom:

-----------------------------------------------------------------------------------------------------------
					<execution>
						<phase>generate-sources</phase>
						<goals>
							<goal>xdoclet</goal>
						</goals>
						<configuration>
							<tasks>
								<ejbdoclet
destdir="${project.build.outputDirectory}"
									addedTags="@xdoclet-generated
at ${TODAY},@copyright The XDoclet Team,@author XDoclet,@version
${version}"
									excludedTags="@version,@author,@todo"
									verbose="true">
									<fileset
dir="${basedir}/src/main/java" includes="**/*SB.java" />
									<entitycmp
destDir="${project.build.outputDirectory}" />
									<deploymentdescriptor
destDir="${project.build.outputDirectory}/META-INF " />
									<homeinterface
/>
									<localhomeinterface
/>
									<localinterface
/>
									<remoteinterface
/>
									<session
/>
									<utilobject
cacheHomes="true"
										includeGUID="true"
/>
									<valueobject
/>
									<weblogic
destDir="." />
								</ejbdoclet>

							</tasks>
						</configuration>
					</execution>
				</executions>
			</plugin>
-----------------------------------------------------------------------------------------------------------

Thanks a lot for your help!
Regards, Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: XDoclet-Problem: This artifact has been relocated to javax.servlet:servlet-api:2.3

Posted by Matt Brozowski <br...@opennms.org>.
On Dec 16, 2005, at 4:48 AM, Stefan Rademacher wrote:

> Hello,
>
> I am trying to get the xdoclet-maven-plugin 1.0-alpha-1 working. But a
> "mvn package" ends up with the following error messages:
>

The alpha-1 version doesn't seem to work very will with maven 2.0 and  
later.  Try using alpha-2

Matt

________________________________________________________________________ 
___
Matt Brozowski, OpenNMS Maintainer			Main:	+1 919 812 4984
The OpenNMS Group, Inc.					Fax:		+1 503 961 7746
Email: brozow@opennms.org					URL:	http://www.opennms.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: XDoclet-Problem: This artifact has been relocated to javax.servlet:servlet-api:2.3

Posted by Jochen Wiedmann <jo...@gmail.com>.
On 12/16/05, Stefan Rademacher <Ra...@hhla.de> wrote:

>   This artifact has been relocated to javax.servlet:servlet-api:2.3.

That's not an error message. That's simply a warning. Most probably
you are still using the group ID servletapi, or something like that.
Change groupId, artifactId, and version as given in the warning and it
will immediately vanish.


> java.lang.AbstractMethodError

That's a completely different beast. Try using the "-X" flag, if you
can find any additional informations. It might be a bug in some
plugin.


Jochen


--
Often it does seem a pity that Noah and his party did not miss the
boat. (Mark Twain)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org