maven install error - only whitespace content allowed before start tag and not \\u0
win 10更新后maven没办法打包,而且项目还是正常的,打包时出现 Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.3.1:install (default-install) on project com.packtpub.felix.bookshelf-service-tui: Failed to install metadata com.packtpub.felix:com.packtpub.felix.bookshelf-service-tui/maven-metadata.xml: Could not parse metadata j:/maven-resource/com/packtpub/felix/com.packtpub.felix.bookshelf-service-tui/maven-metadata-local.xml: only whitespace content allowed before start tag and not /u0 (position: START_DOCUMENT seen /u0... @1:1) -> [Help 1]
原因是D:\csiiwork\mvn_repo\net\gb\zebra\epp\zebra-epp-daemon\maven-metadata-local.xml 内容被修改了,可以进入D:\csiiwork\mvn_repo\net\gb\zebra\epp\zebra-epp-daemon\1.0.0-SNAPSHOT 中复制项目里面的maven-metadata-local.xml覆盖D:\csiiwork\mvn_repo\net\gb\zebra\epp\zebra-epp-daemon\maven-metadata-local.xml 然后 就可以正常打包了,查询到的资料都是删掉资源库,重新加载jar包,有网耗时,没网干瞪眼