日期:2014-05-18  浏览次数:20809 次

大家帮忙看个问题啊。。java.net.UnknownHostException: java.sun.com
javax.servlet.ServletException: java.sun.com
org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1437)
org.apache.struts.action.ActionServlet.init(ActionServlet.java:466)
javax.servlet.GenericServlet.init(GenericServlet.java:211)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Thread.java:534)


java.net.UnknownHostException: java.sun.com
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:153)
java.net.Socket.connect(Socket.java:452)
java.net.Socket.connect(Socket.java:402)
sun.net.NetworkClient.doConnect(NetworkClient.java:139)
sun.net.www.http.HttpClient.openServer(HttpClient.java:402)
sun.net.www.http.HttpClient.openServer(HttpClient.java:618)
sun.net.www.http.HttpClient.<init>(HttpClient.java:306)
sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
sun.net.www.http.HttpClient.New(HttpClient.java:339)
sun.net.www.http.HttpClient.New(HttpClient.java:320)
sun.net.www.http.HttpClient.New(HttpClient.java:315)
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:510)
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:487)
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:615)
java.net.URL.openStream(URL.java:913)
com.bluecast.xml.EntityManager$Entry.open(EntityManager.java:81)
com.bluecast.xml.PiccoloLexer.pushEntity(PiccoloLexer.java:2601)
com.bluecast.xml.PiccoloLexer.pushEntity(PiccoloLexer.java:2629)
com.bluecast.xml.PiccoloLexer.pushEntity(PiccoloLexer.java:2623)
com.bluecast.xml.Piccolo.yyparse(Piccolo.java:1495)
com.bluecast.xml.Piccolo.parse(Piccolo.java:702)
org.apache.commons.digester.Digester.parse(Digester.java:1567)
org.apache.struts.action.ActionServlet.initServlet(ActionServlet.java:1433)
org.apache.struts.action.ActionServlet.init(ActionServlet.java:466)
javax.servlet.GenericServlet.init(GenericServlet.java:211)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Thread.java:534)



------解决方案--------------------
识别不了, LZ的配置有问题!