basexhttp errors
Hello. When I start basexhttp.bat, following errors display:
Starting Process basexhttp
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Program%20Files%20(x86)/BaseX/lib/slf4 j-simple-1.7.13.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Program%20Files%20(x86)/BaseX/lib/slf4 j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
[main] WARN org.eclipse.jetty.xml.XmlConfiguration - Config error at <Call name="addConnector"><Arg>
<New id="httpConnector" class="org.eclipse.jetty.server. ServerConnector"><Arg name="server"><Ref refid="Server"/></Arg><Set name= "host">0.0.0.0</Set><Set name="port">8984</Set><Set name="idleTimeout">60000 </Set><Set name="reuseAddress">true</Set></New>
</Arg></Call>java.lang.IllegalStateException: No object for id=null
How can I correct it? Thank you in advance for your help.
Best regards,
Radim Havlicek
Hi,
this does not necessarily mean BaseX error, on the contrary, there is something wrong with your classpath usually:
have you try to follow the advice at: http://www.slf4j.org/codes.html#multiple_bindings ?
Long story short, there is multiple slf4j bindings at your classpath and you have to keep just one.
- What does your classpath look like? - What version exactly are you trying to run? - Do you use the provided startup file without any modifications?
m.
Quoted text · radim-havlicek · 47 lines
radim-havlicek at post.cz writes: > Hello. > When I start basexhttp.bat, following errors display: > > > > > > Starting Process basexhttp > > SLF4J: Class path contains multiple SLF4J bindings. > > SLF4J: Found binding in [jar:file:/C:/Program%20Files%20(x86)/BaseX/lib/slf4 > j-simple-1.7.13.jar!/org/slf4j/impl/StaticLoggerBinder.class] > > SLF4J: Found binding in [jar:file:/C:/Program%20Files%20(x86)/BaseX/lib/slf4 > j-simple-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] > > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an > explanation. > > SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory] > > [main] WARN org.eclipse.jetty.xml.XmlConfiguration - Config error at <Call > name="addConnector"><Arg> > > <New id="httpConnector" class="org.eclipse.jetty.server. > ServerConnector"><Arg name="server"><Ref refid="Server"/></Arg><Set name= > "host">0.0.0.0</Set><Set name="port">8984</Set><Set name="idleTimeout">60000 > </Set><Set name="reuseAddress">true</Set></New> > > </Arg></Call> > > java.lang.IllegalStateException: No object for id=null > > > > > > How can I correct it? Thank you in advance for your help. > > Best regards, > > > > > Radim Havlicek
Written for BaseX 9.0. BaseX may have changed since: please check the current documentation.