Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jsf-2/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Maven 2 Can';我不能让Grails1.1与Maven 2.1一起使用_Maven 2_Grails - Fatal编程技术网

Maven 2 Can';我不能让Grails1.1与Maven 2.1一起使用

Maven 2 Can';我不能让Grails1.1与Maven 2.1一起使用,maven-2,grails,Maven 2,Grails,当我尝试使用Maven 2.0.9或2.1构建Grails 1.1项目时,我会遇到以下错误: [INFO] [grails:maven-compile {execution: default}] Running pre-compiled script Environment set to development Plugin [debug-1.0.2] not installed, resolving.. Reading remote plugin list ... Plugin list fi

当我尝试使用Maven 2.0.9或2.1构建Grails 1.1项目时,我会遇到以下错误:

[INFO] [grails:maven-compile {execution: default}]
Running pre-compiled script
Environment set to development
Plugin [debug-1.0.2] not installed, resolving..
Reading remote plugin list ...
Plugin list file corrupt, retrieving again..
   [delete] Deleting: C:\Dokumente und Einstellungen\DIGULAA\.grails\1.1\plugins-list-core.xml
      [get] Getting: http://svn.codehaus.org/grails/trunk/grails-plugins/.plugin-meta/plugins-list.xml
      [get] To: C:\Dokumente und Einstellungen\DIGULAA\.grails\1.1\plugins-list-core.xml
.
      [get] last modified = Thu May 14 10:44:43 CEST 2009
Error reading remote plugin list [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl], building locally...
Plugins list cache is corrupt [org.apache.xerces.jaxp.DocumentBuilderFactoryImpl]. Re-creating..
Unable to list plugins, please check you have a valid internet connection: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to start Grails

Embedded error: java.lang.reflect.InvocationTargetException
Cannot get property 'plugin' on null object
我猜想XML解析器有问题,因为插件列表文件没有损坏;Grails无法读取它,开发人员接受了这个异常:(


有没有人有同样的问题?解决方法是什么?

你有没有再试一次?我想插件库几天前没有工作。

没有,这只是一个技术高峰,我没有时间再试一次。