[Error] 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: cocould 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]
Org. apache. maven. lifecycle. lifecycleexecutionexception: 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: cocould 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)
At org.apache.maven.lifecycle.internal.mojoexecutor.exe cute (mojoexecutor. Java: 217)
At org.apache.maven.lifecycle.internal.mojoexecutor.exe cute (mojoexecutor. Java: 153)
At org.apache.maven.lifecycle.internal.mojoexecutor.exe cute (mojoexecutor. Java: 145)
At org. Apache. Maven. lifecycle. Internal. lifecyclemodulebuilder. buildproject (lifecyclemodulebuilder. Java: 84)
At org. Apache. Maven. lifecycle. Internal. lifecyclemodulebuilder. buildproject (lifecyclemodulebuilder. Java: 59)
At org. Apache. Maven. lifecycle. Internal. lifecyclestarter. singlethreadedbuild (lifecyclestarter. Java: 183)
At org.apache.maven.lifecycle.internal.lifecyclestarter.exe cute (lifecyclestarter. Java: 161)
At org. Apache. Maven. defaultmaven. doexecute (defaultmaven. Java: 319)
At org.apache.maven.defaultmaven.exe cute (defaultmaven. Java: 156)
At org.apache.maven.cli.mavencli.exe cute (mavencli. Java: 537)
At org. Apache. Maven. cli. mavencli. domain (mavencli. Java: 196)
At org. Apache. Maven. cli. mavencli. Main (mavencli. Java: 141)
At sun. Reflect. nativemethodaccessorimpl. invoke0 (native method)
At sun. Reflect. nativemethodaccessorimpl. Invoke (nativemethodaccessorimpl. Java: 39)
At sun. Reflect. delegatingmethodaccessorimpl. Invoke (delegatingmethodaccessorimpl. Java: 25)
At java. Lang. Reflect. method. Invoke (method. Java: 597)
At org. codehaus. plexus. classworlds. launcher. launcher. launchenhanced (launcher. Java: 290)
At org. codehaus. plexus. classworlds. launcher. launcher. Launch (launcher. Java: 230)
At org. codehaus. plexus. classworlds. launcher. launcher. mainwithexitcode (launcher. Java: 409)
At org. codehaus. plexus. classworlds. launcher. launcher. Main (launcher. Java: 352)
Caused by: Org. apache. maven. plugin. mojoexecutionexception: failed to install metadata COM. packtpub. FELIX: COM. packtpub. felix. bookshelf-service-tui/maven-metadata.xml: cocould 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)
At org.apache.maven.plugin.install.installmojo.exe cute (installmojo. Java: 139)
At org.apache.maven.plugin.defaultbuildpluginmanager.exe cutemojo (defaultbuildpluginmanager. Java: 101)
At org.apache.maven.lifecycle.internal.mojoexecutor.exe cute (mojoexecutor. Java: 209)
... 19 more
Caused by: Org. apache. maven. artifact. installer. artifactinstallationexception: failed to install metadata COM. packtpub. FELIX: COM. packtpub. felix. bookshelf-service-tui/maven-metadata.xml: cocould 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)
At org. Apache. Maven. artifact. Installer. defaultartifactinstaller. Install (defaultartifactinstaller. Java: 111)
At org.apache.maven.plugin.install.installmojo.exe cute (installmojo. Java: 103)
... 21 more
Caused by: Org. sonatype. aether. installation. installationexception: failed to install metadata COM. packtpub. FELIX: COM. packtpub. felix. bookshelf-service-tui/maven-metadata.xml: cocould 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)
At org. sonatype. aether. impl. Internal. defaultinstaller. Install (defaultinstaller. Java: 317)
At org. sonatype. aether. impl. Internal. defaultinstaller. Install (defaultinstaller. Java: 215)
At org. sonatype. aether. impl. Internal. defaultinstaller. Install (defaultinstaller. Java: 162)
At org. sonatype. aether. impl. Internal. defaultrepositorysystem. Install (defaultrepositorysystem. Java: 473)
At org. Apache. Maven. artifact. Installer. defaultartifactinstaller. Install (defaultartifactinstaller. Java: 107)
... 22 more
Caused by: Org. sonatype. aether. repositoryexception: cocould 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)
At org. Apache. Maven. repository. Internal. mavenmetadata. Read (mavenmetadata. Java: 105)
At org. Apache. Maven. repository. Internal. mavenmetadata. Merge (mavenmetadata. Java: 69)
At org. sonatype. aether. impl. Internal. defaultinstaller. Install (defaultinstaller. Java: 305)
... 26 more
Caused by: org. codehaus. plexus. util. xml. Pull. xmlpullparserexception: Only whitespace content allowed before start tag and not/U0 (position: start_document seen/u0)
At org. codehaus. plexus. util. xml. Pull. mxparser. parseprolog (mxparser. Java: 1528)
At org. codehaus. plexus. util. xml. Pull. mxparser. nextimpl (mxparser. Java: 1407)
At org. codehaus. plexus. util. xml. Pull. mxparser. Next (mxparser. Java: 1105)
At org. Apache. Maven. artifact. repository. Metadata. Io. xpp3.metadataxpp3reader. Read (metadataxpp3reader. Java: 1193)
At org. Apache. Maven. artifact. repository. Metadata. Io. xpp3.metadataxpp3reader. Read (metadataxpp3reader. Java: 1122)
At org. Apache. Maven. repository. Internal. mavenmetadata. Read (mavenmetadata. Java: 97)
... 28 more
I don't know why,
Delete the files in the local database and run MVN install-X and MVN clean deploy again. No error is reported when you run the preceding command.