当前位置: 首页 > 知识库问答 >
问题:

连接到服务器表单 jaspersoft studio 或 ireport 时出错

霍修筠
2023-03-14

我正在尝试从jaspersoft工作室(或ireport)连接到服务器,并且在执行此操作时,我收到以下错误消息:

 AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultSubcode: 
 faultString: (404)Not Found
 faultActor: 
 faultNode: 
 faultDetail: 
{}:return code:  404
<html><head><title>Apache Tomcat/6.0.26 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /jasperserver/services/repository</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/jasperserver/services/repository</u></p><p><b>description</b> <u>The requested resource (/jasperserver/services/repository) is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.26</h3></body></html>
{http://xml.apache.org/axis/}HttpErrorCode:404

(404)Not Found
at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:221)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at com.jaspersoft.ireport.jasperserver.ws.RepositorySoapBindingStub.list(RepositorySoapBindingStub.java:336)
at com.jaspersoft.ireport.jasperserver.ws.WSClient.getVersion(WSClient.java:155)
at com.jaspersoft.studio.server.protocol.soap.SoapConnection.getServerInfo(SoapConnection.java:107)
at com.jaspersoft.studio.server.protocol.soap.SoapConnection.connect(SoapConnection.java:128)
at com.jaspersoft.studio.server.protocol.ProxyConnection.connect(ProxyConnection.java:86)
at com.jaspersoft.studio.server.WSClientHelper.checkConnection(WSClientHelper.java:82)
at com.jaspersoft.studio.server.wizard.ServerProfileWizard.connect(ServerProfileWizard.java:99)
at com.jaspersoft.studio.server.wizard.ServerProfileWizard.access$1(ServerProfileWizard.java:95)
at com.jaspersoft.studio.server.wizard.ServerProfileWizard$2.run(ServerProfileWizard.java:76)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

我点击了添加服务器的图标,给了用户名和密码为“jasperadmin”,然后点击了下一步,点击下一步按钮后,它显示了上面的消息。我不明白这个错误背后的原因。请帮我解决这个问题。

共有1个答案

东龙野
2023-03-14

我找到了解决办法。我犯了愚蠢的错误。在URL中http://localhost:8080/jasperserver/我用jasperserver pro替换了jasperser,所以我的URL看起来像http://localhost:8080/jasperserver-赞成/。现在它工作正常。我更改了URL,因为我使用的是jasperreports-server-4.7,目录名是jasperserver-pro。所以我试了一下,效果很好。

 类似资料:
  • 初始化-iMac:桌面初始化$openssl s_client-connect gateway.sandbox.push.apple.com:2195-cert pushchatcert.pem-key pushchatkey.pem 终端响应: CONNECTED(00000003)深度=1/c=US/O=Entrust,INC./OU=www.Entrust.net/RPA是通过引用合并的/O

  • 所以我现在正在编写一个web应用程序,我需要数据库,所以我决定使用mongodb和Mongoose。到目前为止,我在localhost上测试了所有的内容,它都起作用了,但我想把数据移到服务器上。我听说过Atlas,自己注册并“上传”了数据。 现在我想通过Node.js应用程序连接到集群。 我在连接您的应用程序点得到了mongodb Atlas站点的字符串 然后我交换了我的密码。 这也没用。 这是错

  • 问题内容: 因此,我目前正在使用Web应用程序,并且需要数据库,因此我决定使用mongodb和mongoose。到目前为止,我已经在localhost上测试了所有内容,并且一切正常,但是我想将数据移至服务器。我听说过Atlas,并进行了注册并“上传”了数据。 现在,我想通过node.js应用程序连接到集群。 我在 连接您的应用程序* 点获得了mongodb Atlas网站的字符串 * 然后我交换了

  • 在线程“main”java.sql.sqlexception:在java.sql.drivermanager.getconnection(未知源)在java.sql.drivermanager.getconnection(未知源)在com.test.readalltables.main(readalltables.java:18)找不到适合JDBC的驱动程序:as400:/192.168.1.11

  • 我试图使用System.net.ftpWebResponse连接到FTP服务器,但遇到了TLS问题; 如果我使用此配置: 我得到这个错误: 正确的配置是什么? ------更新我不知道它是否有任何相关性,但我尝试了一个工具来检查ftp服务器,我得到了这个;我真的不知道这些意味着什么 通过NPN+ALPN以外的套接字测试协议 您不应继续,因为未检测到任何协议。如果你真的真的想,说“YES”-->YE