JWorld@TW the best professional Java site in Taiwan
      註冊 | 登入 | 全文檢索 | 排行榜  

» JWorld@TW » JDBC/SQL討論區 » Microsoft SQL Server  

按列印兼容模式列印這個話題 列印話題    把這個話題寄給朋友 寄給朋友    訂閱主題
reply to postflat modego to previous topicgo to next topic
本主題所含的標籤
無標籤
作者 Re:SQL Server 2000 Driver for JDBC Service Pack 3 [Re:shctony]
keylose





發文: 5
積分: 0
於 2006-12-25 09:57 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
shctony wrote:
補充:因為想試看看,所以重頭流程跑一下,所以有下面的1.2.3

1.首先到微軟的網站下載

http://www.microsoft.com/downloads/details.aspx?FamilyId=07287B11-0502-461A-B138-2AA54BFDC03A&displaylang=en

在上個網頁,可以下載 mssqlserver.tar 及 setup.exe 其中一項。 .tar有二層的壓縮,所以要解壓二次。

2.解壓縮及安裝完成之後,可以在 msjdbc\lib 之中找到 msbase.jar,mssqlserver.jar,msutil.jar的檔案。

3.將這三個檔案,放到$Tomcat_Home\common\lib 之中,提供Tomcat使用。

 或許是檔案放到 $Tomcat_Home\webapps\XXXX(自己的WEBlack Eye\WEB-INF\lib之中,這樣就可以從JSP的程式去使用。

照作了还不行,如下:

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to load class for JSP
  org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

org.apache.jasper.JasperException: Unable to load class for JSP
  org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:598)
  org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:147)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:315)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

java.lang.ClassNotFoundException: org.apache.jsp.shcoa.test_jsp
  java.net.URLClassLoader$1.run(Unknown Source)
  java.security.AccessController.doPrivileged(Native Method)
  java.net.URLClassLoader.findClass(Unknown Source)
  org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:133)
  org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:65)
  org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:596)
  org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:147)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:315)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.17 logs.

系统:win2000 pro
jdk1.5.0_07
Tomcat 5.5


對...我也是出現這個錯誤訊息,請各位大大告知,如何解決


reply to postreply to post
話題樹型展開
人氣 標題 作者 字數 發文時間
24356 [精華] SQL Server 2000 Driver for JDBC Service Pack 3 jini 1034 2004-08-17 08:03
21967 Re:SQL Server 2000 Driver for JDBC Service Pack 3 airskys 151 2004-09-02 09:29
17908 Re:SQL Server 2000 Driver for JDBC Service Pack 3 markcool66 440 2005-07-15 11:09
16801 Re:SQL Server 2000 Driver for JDBC Service Pack 3 andyshu 71 2005-09-25 12:06
15462 Re:SQL Server 2000 Driver for JDBC Service Pack 3 undeadbird 138 2006-01-10 01:09
15920 Re:SQL Server 2000 Driver for JDBC Service Pack 3 礼物 17 2005-11-26 14:30
13533 Re:SQL Server 2000 Driver for JDBC Service Pack 3 shctony 2581 2006-07-23 16:26
12565 Re:SQL Server 2000 Driver for JDBC Service Pack 3 keylose 2673 2006-12-25 09:57
13720 Re:SQL Server 2000 Driver for JDBC Service Pack 3 shctony 51 2006-07-23 16:29
12368 Re:SQL Server 2000 Driver for JDBC Service Pack 3 hzymnbvcx 151 2006-11-30 14:36
» JWorld@TW »  JDBC/SQL討論區 » Microsoft SQL Server

reply to postflat modego to previous topicgo to next topic
  已讀文章
  新的文章
  被刪除的文章
Jump to the top of page

JWorld@TW 本站商標資訊

Powered by Powerful JuteForum® Version Jute 1.5.8