Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not load definitions #3

Closed
GoogleCodeExporter opened this issue Mar 23, 2015 · 7 comments
Closed

Could not load definitions #3

GoogleCodeExporter opened this issue Mar 23, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. I have Eclipse Europa and updated WTP
2. I have Pluto 1.1.4
3. When i try to publish the application, i get the following error

here is the full error message

Buildfile: 
E:\pan\nextgenSpace\.metadata\.plugins\org.eclipse.jst.server.generic.core\
serverdef\scripts\pluto.tomcat.11.xml
deploy.j2ee.web:
     [copy] Copying 1 file to 
E:\pan\nextgenSpace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
\hello-world-portlet\WEB-INF
maven-init:
      [get] Getting: http://repo1.maven.org/maven2/org/apache/maven/maven-
ant-tasks/2.0.7/maven-ant-tasks-2.0.7.jar
      [get] To: 
E:\pan\nextgenSpace\.metadata\.plugins\org.eclipse.jst.server.generic.core\
serverdef\scripts\pluto-ant-tasks-libs\maven\maven-artifact-ant-dep.jar
      [get] Error getting 
http://repo1.maven.org/maven2/org/apache/maven/maven-ant-tasks/2.0.7/maven-
ant-tasks-2.0.7.jar to 
E:\pan\nextgenSpace\.metadata\.plugins\org.eclipse.jst.server.generic.core\
serverdef\scripts\pluto-ant-tasks-libs\maven\maven-artifact-ant-dep.jar
  [typedef] Could not load definitions from resource 
org/apache/maven/artifact/ant/antlib.xml. It could not be found.
maven-dependencies:

BUILD FAILED
E:\pan\nextgenSpace\.metadata\.plugins\org.eclipse.jst.server.generic.core\
serverdef\scripts\pluto.tomcat.11.xml:16: The following error occurred 
while executing this line:
E:\pan\nextgenSpace\.metadata\.plugins\org.eclipse.jst.server.generic.core\
serverdef\scripts\pluto.tomcat.11.xml:85: The following error occurred 
while executing this line:
E:\pan\nextgenSpace\.metadata\.plugins\org.eclipse.jst.server.generic.core\
serverdef\scripts\pluto.tomcat.11.xml:90: Problem: failed to create task 
or type urn:maven-artifact-ant:dependencies
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken 
place.


Total time: 1 second

Original issue reported on code.google.com by kpla...@gmail.com on 14 Aug 2008 at 10:59

@GoogleCodeExporter
Copy link
Author

Does anybody know how to setup the Proxy in this plugin?

Original comment by kpla...@gmail.com on 15 Aug 2008 at 1:50

@GoogleCodeExporter
Copy link
Author

I'm having the same problem and was also trying to find out how to set the proxy
(assuming that's what it is).  Any info is appreciated.

Original comment by rich.you...@gmail.com on 9 Sep 2008 at 10:00

@GoogleCodeExporter
Copy link
Author

I'm having the same problem. Did you found a solution?

Original comment by Dubb...@gmx.de on 28 Oct 2008 at 10:16

@GoogleCodeExporter
Copy link
Author

Nope, no answer.  I'm using LifeRay instead. No problems there...  The forum 
seems
better monitored too.

Original comment by rich.you...@gmail.com on 29 Oct 2008 at 2:01

@GoogleCodeExporter
Copy link
Author

i connected to internet with another installation from another pc without proxy 
and
copied {userhome}/.m2 and {eclipsehome}/plugins/.../pluto-ant-tasks-libs from 
the one
maschiene to the other. now the plugin deploys to pluto server, but it's very 
slow,
because it still tries to connect, and it deploys not until it finds out, that 
it
cannot connect.

Original comment by Dubb...@gmx.de on 31 Oct 2008 at 12:23

@GoogleCodeExporter
Copy link
Author

When I first made the plug-in, I didn't know how to make ant tasks or ant 
library
dependencies available to the server publisher.  So I used Maven to download the
necessary jars at runtime.  However, recently I've learned how to include the 
pluto
ant task jar and its dependencies with the plug-in and I can remove this kludgy 
Maven
stuff and this problem with proxy settings should no longer be an issue.  I'll 
make
an updated release as soon as I can.

Original comment by marc.chr...@gmail.com on 1 Nov 2008 at 1:54

  • Changed state: Accepted
  • Added labels: Priority-High
  • Removed labels: Priority-Medium

@GoogleCodeExporter
Copy link
Author

This issue should be resolved with the latest 1.0.0 release.

Original comment by marc.chr...@gmail.com on 26 Dec 2008 at 2:49

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant