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 Oracle Community by Mahalwar, 1 year ago
Error at Line:158, token:[SPACE] ( )Unbalanced ELEMENT got:servlet expected:web-app
via Oracle Community by Mahalwar, 1 year ago
Error at Line:158, token:[SPACE] ( )Unbalanced ELEMENT got:servlet expected:web-app
via Oracle Community by dde82545-3d97-4821-968d-8ae0f3138965, 2 years ago
Error at line:223 col:10 Comments may not contain '--'
via Stack Overflow by vinay kumar
, 2 years ago
Error at line:223 col:10 Comments may not contain '--'
via Oracle Community by 716618, 2 years ago
Error at line:35 col:32 '2' expected a valid beginning name character
via Oracle Community by 787971, 2 years ago
Error at Line:0 Prefix [XDtConfig] used without binding it to a namespace URI
javax.xml.stream.XMLStreamException: Error
at Line:158, token:[SPACE] (
)Unbalanced ELEMENT got:servlet expected:web-app	at weblogic.xml.stax.XMLStreamReaderBase.advance(XMLStreamReaderBase.java:206)	at weblogic.xml.stax.XMLStreamReaderBase.next(XMLStreamReaderBase.java:237)	at javax.xml.stream.util.StreamReaderDelegate.next(StreamReaderDelegate.java:60)	at weblogic.application.descriptor.DebugStreamReaderDelegate.next(DebugStreamReaderDelegate.java:89)	at weblogic.application.descriptor.BasicMunger2.next(BasicMunger2.java:444)	at weblogic.application.descriptor.VersionMunger._next(VersionMunger.java:333)	at weblogic.application.descriptor.VersionMunger.next(VersionMunger.java:221)	at weblogic.application.descriptor.VersionMunger.consumeInputStream(VersionMunger.java:499)	at weblogic.application.descriptor.VersionMunger.init(VersionMunger.java:425)	at weblogic.application.descriptor.VersionMunger.(VersionMunger.java:85)	at weblogic.application.descriptor.VersionMunger.(VersionMunger.java:61)	at weblogic.application.descriptor.VersionMunger.(VersionMunger.java:49)	at weblogic.servlet.internal.WebAppReader2.(WebAppReader2.java:46)	at weblogic.servlet.internal.WebAppDescriptor$MyWebAppDescriptor.createXMLStreamReader(WebAppDescriptor.java:265)	at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:402)	at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)	at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBean(AbstractDescriptorLoader2.java:768)	at weblogic.servlet.internal.WebAppDescriptor.getWebAppBean(WebAppDescriptor.java:141)	at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1327)	at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:373)	at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:180)	at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)	at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:518)	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)	at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)	at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:47)	at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:614)	at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)	at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)	at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:43)	at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)	at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)	at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)	at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:40)	at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)	at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:22)	at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)	at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:166)	at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)	at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)	at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)	at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)	at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)