org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'host' (position: START_TAG seen ...<smtpConfiguration>\n <host>... @6:11)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Sonatype JIRA by Marvin Herman Froeder, 1 year ago
Unrecognised tag: 'host' (position: START_TAG seen ...<smtpConfiguration>\n <host>... @6:11)
via Sonatype JIRA by Marvin Herman Froeder, 1 year ago
Unrecognised tag: 'host' (position: START_TAG seen ...<smtpConfiguration>\n <host>... @6:11)
org.codehaus.plexus.util.xml.pull.XmlPullParserException: Unrecognised tag: 'host' (position: START_TAG seen ...<smtpConfiguration>\n <host>... @6:11)
at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.parseCSmtpConfiguration(NexusConfigurationXpp3Reader.java:1645)
at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.parseConfiguration(NexusConfigurationXpp3Reader.java:1801)
at org.sonatype.nexus.configuration.model.io.xpp3.NexusConfigurationXpp3Reader.read(NexusConfigurationXpp3Reader.java:2122)
at org.sonatype.nexus.configuration.source.AbstractApplicationConfigurationSource.loadConfiguration(AbstractApplicationConfigurationSource.java:96)
at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:258)
at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:157)
at org.sonatype.nexus.configuration.source.FileConfigurationSource.loadConfiguration(FileConfigurationSource.java:44)
at org.sonatype.nexus.test.utils.NexusConfigUtil.getNexusConfig(NexusConfigUtil.java:52)
at org.sonatype.nexus.test.utils.NexusConfigUtil.validateConfig(NexusConfigUtil.java:137)
at org.sonatype.nexus.integrationtests.AbstractNexusIntegrationTest.oncePerClassSetUp(AbstractNexusIntegrationTest.java:195)
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.junit.internal.runners.MethodRoadie.runBefores(MethodRoadie.java:122)
at org.junit.internal.runners.MethodRoadie.runBeforesThenTestThenAfters(MethodRoadie.java:86)
at org.junit.internal.runners.MethodRoadie.runTest(MethodRoadie.java:77)
at org.junit.internal.runners.MethodRoadie.run(MethodRoadie.java:42)
at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:88)
at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)
at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44)
at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)
at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
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.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.