Java常见异常及解决方法专题文章列表
maven 工程pom.xml文件错误,提示错误如下
Plugin org.apache.maven.plugins:maven-compiler-plugin:2.3.2 or one of its dependencies could not be resolved
java.net.SocketException: No buffer space available (maximum connections reached): connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
2014-05-26
solr在glassfish环境下,出现下面错误:
ERROR org.apache.solr.core.SolrCore null:org.apache.solr.common.SolrException:
Error instantiating shardHandlerFactory class [org.apache.solr.handler.component.HttpShardHandlerFactory]:
Failure initializing default system SSL context
2013-12-16
org.springframework.transaction.TransactionSystemException:
Could not roll back JDBC transaction;
nested exception is java.sql.SQLRecoverableException: No more data to read from socket
2013-12-16
ERROR org.apache.solr.core.SolrCore org.apache.solr.common.SolrException:
Error opening new searcher. exceeded limit of maxWarmingSearchers=2, try again later.
at org.apache.solr.core.SolrCore.getSearcher (SolrCore.java:1620)
2013-12-16
Indexer: org.apache.hadoop.mapred.InvalidInputException: Input path does not exi
st: file:/C:/cygwin/usr/apache-nutch-1.7/crawl/linkdb/crawl_fetch
junit.framework.AssertionFailedError: Exception in constructor: (org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [config/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.reflect.MalformedParameterizedTypeException
org.apache.solr.client.solrj.SolrServerException: Timeout occured while waiting response from server at: http://localhost:8080/solr/
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:431)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
java.lang.Exception: Socket bind failed: [730048] ?????????×???(Э?é/??????/???)????í?????Ρ?
at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:577) at org.apache.tomcat.util.net.AprEndpoint.start(AprEndpoint.java:697)
2013-10-26
[http-8080-1] ERROR org.apache.solr.core.SolrCore – org.apache.solr.comm
on.SolrException: ERROR: [doc=30001377] multiple values encountered for non mult
iValued copy field suggestions:
2013-10-26
java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
2013-10-26
solr 4.4 首次提交请求报错,再次请求就正常,错误如下:
org.apache.solr.client.solrj.SolrServerException:
Timeout occured while waiting response from server at: http://localhost:8080/solr
2013-10-10
http://localhost:8080/solr/browse 页面无法访问。例如在访问该页面的时候出现如下异常:
Caused by: java.lang.ClassNotFoundException: solr.VelocityResponseWriter
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
2013-10-10
org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Unable to use updateLog: _version_field must exist in schema, using indexed="true" stored="true" and multiValued="false" (_version_ does not exist)
2013-10-10
Failed to load class "org.slf4j.impl.StaticLoggerBinder
2013-09-12
java.sql.SQLException: 无效的列类型
oracle.jdbc.driver.OraclePreparedStatement.setNull(OraclePreparedStatement.java:1028)
at oracle.jdbc.driver.OraclePreparedStatement.setObject(OraclePreparedStatement.java:2311) at
2013-05-21
Caused by: javax.resource.spi.ResourceAllocationException: Error in allocating a connection. Cause: Connection could not be allocated because: Listener refused the connection with the following error:
ORA-12520, TNS:listener could not find available handler for requested type of server
2013-05-13
Caused by: org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
2013-04-09
failed on connection exception: java.net.ConnectException: Connection refused: no further information
java.lang.IllegalStateException: Web app root system property already set to different value:
共23条记录 第1/2 页 每页20条记录 上一页 下一页 到第
页
GO