誰說女孩子不能買NB!
2007-04-24 12:05:50 UTC
各位大大好
有點問題想要請教各位
是關於SOAP內建的bidbuy程式
我灌的是 j2sdk1.4.2_14
還有Tomcat 4.1
以及soap-2_3_1
在soap-2_3_1中的sample
有一個bidbuy程式
應該是只要直接執行
C:\soap-2_3_1\samples\bidbuy\server\registry
中的deploy.bat檔
可是執行的時候出現了以下的錯誤:
This test assumes a server URL of http://localhost:8080/soap/servlet/rpcrouter
Deploying the registry service...
[Fatal Error] :18:24: The value of the attribute "prefix="xmlns",localpart="x",r
awname="xmlns:x"" is invalid. Prefixed namespace bindings may not be empty.
Exception in thread "main" org.xml.sax.SAXParseException: The value of the attri
bute "prefix="xmlns",localpart="x",rawname="xmlns:x"" is invalid. Prefixed names
pace bindings may not be empty.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown So
urce)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unk
nown Source)
at org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
java:229)
.
於是我便想直接執行他裡面的檔案
而不是讓他自動產生
所以我鍵入了 javac RegistryService.java (資料夾裡面的檔案)
但卻跑出了以下的錯誤:
C:\soap-2_3_1\samples\bidbuy\server\registry>javac RegistryService.java
RegistryService.java:10: package samples.bidbuy.shared does not exist
import samples.bidbuy.shared.*;
^
RegistryService.java:53: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
private Service find(Vector list, String name) {
^
RegistryService.java:106: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
public Service[] Lookup(String stype) {
^
RegistryService.java:56: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
Service s = (Service) e.nextElement();
^
RegistryService.java:56: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
Service s = (Service) e.nextElement();
^
RegistryService.java:72: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
Service s = (Service) e2.nextElement();
^
RegistryService.java:72: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
Service s = (Service) e2.nextElement();
^
RegistryService.java:91: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
Service service = find(list, name);
^
RegistryService.java:93: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
list.add(service=new Service());
^
RegistryService.java:107: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
if (!registry.containsKey(stype)) return new Service[] {};
^
RegistryService.java:109: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
Service[] result = new Service[list.size()];
^
RegistryService.java:109: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
Service[] result = new Service[list.size()];
^
RegistryService.java:118: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
Service[] services = Lookup(stype);
^
RegistryService.java:121: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
Service service = services[i];
^
14 errors
可以請教一下各位大大
到底是哪裡出了問題嗎 ~> <~
http://localhost:8080/soap/admin/index.html
都一切正常
Apache Tomcat也都有開啟~~
真的不知道為什麼會不能執行
感激各位大大!!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.66.187.166
有點問題想要請教各位
是關於SOAP內建的bidbuy程式
我灌的是 j2sdk1.4.2_14
還有Tomcat 4.1
以及soap-2_3_1
在soap-2_3_1中的sample
有一個bidbuy程式
應該是只要直接執行
C:\soap-2_3_1\samples\bidbuy\server\registry
中的deploy.bat檔
可是執行的時候出現了以下的錯誤:
This test assumes a server URL of http://localhost:8080/soap/servlet/rpcrouter
Deploying the registry service...
[Fatal Error] :18:24: The value of the attribute "prefix="xmlns",localpart="x",r
awname="xmlns:x"" is invalid. Prefixed namespace bindings may not be empty.
Exception in thread "main" org.xml.sax.SAXParseException: The value of the attri
bute "prefix="xmlns",localpart="x",rawname="xmlns:x"" is invalid. Prefixed names
pace bindings may not be empty.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown So
urce)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unk
nown Source)
at org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
java:229)
.
於是我便想直接執行他裡面的檔案
而不是讓他自動產生
所以我鍵入了 javac RegistryService.java (資料夾裡面的檔案)
但卻跑出了以下的錯誤:
C:\soap-2_3_1\samples\bidbuy\server\registry>javac RegistryService.java
RegistryService.java:10: package samples.bidbuy.shared does not exist
import samples.bidbuy.shared.*;
^
RegistryService.java:53: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
private Service find(Vector list, String name) {
^
RegistryService.java:106: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
public Service[] Lookup(String stype) {
^
RegistryService.java:56: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
Service s = (Service) e.nextElement();
^
RegistryService.java:56: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
Service s = (Service) e.nextElement();
^
RegistryService.java:72: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
Service s = (Service) e2.nextElement();
^
RegistryService.java:72: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
Service s = (Service) e2.nextElement();
^
RegistryService.java:91: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
Service service = find(list, name);
^
RegistryService.java:93: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
list.add(service=new Service());
^
RegistryService.java:107: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
if (!registry.containsKey(stype)) return new Service[] {};
^
RegistryService.java:109: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
Service[] result = new Service[list.size()];
^
RegistryService.java:109: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
Service[] result = new Service[list.size()];
^
RegistryService.java:118: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
Service[] services = Lookup(stype);
^
RegistryService.java:121: cannot resolve symbol
symbol : class Service
location: class samples.bidbuy.server.registry.RegistryService
Service service = services[i];
^
14 errors
可以請教一下各位大大
到底是哪裡出了問題嗎 ~> <~
http://localhost:8080/soap/admin/index.html
都一切正常
Apache Tomcat也都有開啟~~
真的不知道為什麼會不能執行
感激各位大大!!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.66.187.166