PluginGotchas is an attempt to create a repository for identified problems which have been overcome through discussion on the Apache Nutch mailing lists.

Problem compiling custom plugins

Discussion on this issue can be seen in context here

When building a plugin with Ant E.g.

moliere@blitz:~/java/apache-nutch-1.3/src/plugin/recommended$ ant

The following was logged to stdout

Buildfile: build.xml

The following error occurred while executing this line:
Problem: failed to create task or type
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.
No types or tasks have been defined in this namespace yet
Total time: 0 seconds

The above error was solved by copying the jar file under /usr/share/lib/ant.


  • No labels