Maven 2 Can';我不能让Grails1.1与Maven 2.1一起使用
当我尝试使用Maven 2.0.9或2.1构建Grails 1.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
[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无法读取它,开发人员接受了这个异常:(
有没有人有同样的问题?解决方法是什么?你有没有再试一次?我想插件库几天前没有工作。没有,这只是一个技术高峰,我没有时间再试一次。