Я пробую программу образцов JAXWS в Weblogic 14.1.2, Ant 1.0.15 и JDK 17. Задача JWSC не удалась при создании веб -сервиса. Я пробовал все настройки, такие как Ant_opts и Java_Tool_options, чтобы установить доступ к модулю, но это не сработает. < /P>
package examples.webservices.hello_world;
import javax.jws.WebService;
@WebService(name="HelloWorldPortType", serviceName="HelloWorldService")
public class HelloWorldImpl
{
public String sayHelloWorld(String message) {
try {
// System.out.println("sayHelloWorld:" + message);
} catch (Exception ex) { ex.printStackTrace(); }
return "Here is the message: '" + message + "'";
}
}
< /code>
build.xml
< /code>
ошибка: < /p>
Java.lang.runtimeexception: неизвестный javadoc Проблема: Result = 2,
root = nul com.bea.util.jam.internal.javadoc.javadocrunner.run (javadocrunner.java:186)
at com.bea.util.jam.internal.javadoc.javadocclassbuilder.initjavadoc (javadocclassbuilder. com.bea.util.jam.internal.javadoc.javadocclassbuilder.init (javadocclassbuilder.java:121)
at com.bea.util.jam.provider.compositejamclassbuilder.init (compositejamclassbuilder. com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:178)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:137)
at com.bea.util.jam.provider.jamservicefactoryimpl.createservice (jamservicefactoryimpl.java:78)
at weblogic.wsee.util.jamutil.parsesource (jamutil.java:173) weblogic.wsee.util.jamutil.parsesource (jamutil.java:142)
at weblogic.wsee.tools.anttasks.jwsloader.loadjclasses (jwsloader.java:187)
weblogic.wsee.tools.anttasks.jwsloader.load (jwsloader.java:75)
at weblogic.wsee.tools.anttasks.jwsmodule.loadwebservices (jwsmodule.java:680)
ath weblogic.wsee.tools.anttasks.jwsmodule.generate (jwsmodule.java:481)
at weblogic.wsee.tools.anttasks.jwsmodule.build (jwsmodule.java:306)
у weblogic.wsee.tools.anttsks.jwsctask.execute (jwsctask.java:242)
at org.apache.tools.ant.unknownelement.execut java.base /jdk.internal.reflect.nativemethodaccessorimpl.invoke0 (Method
)
at java.base /jdk.internal.reflect.nativemethodaccessorimpl.invoke (nativemethodaccessormpl. java.base /jdk.internal.reflect.delegatingmethodaccessorimpl.invoke (делегирование methodacccessorimpl.java:43)
at java.base /java.lang.reflect.method.invoke (метод.java:568) org.apache.tools.ant.dispatch.dispatchutils.execute (dispatchutils.java:99)
at org.apache.tools.ant.task.perform (task.java:350)
at org.apache.tols.ant.target.execut org.apache. org.apache.tools.ant.helper.defaultexecutor.executetargets (defaultexecutor.java:41)
at org.apache.tools.ant.project.executetargets (project.java:1264)
at. org.apache.tools.ant.main.runbuild (main.java:818)
at org.apache.tools.ant.main.startant (main.java:223)
at org.apache.tools.ant.launch.launcher.run (запуск. org.apache.tools.ant.launch.launcher.main (Launcher.java:101)
Подробнее здесь: https://stackoverflow.com/questions/797 ... -and-jdk17
Ant jwsc Задача не удалась на Weblogic 14c и JDK17 ⇐ JAVA
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение
-
-
Weblogic 14C пользовательский заявление идентификации - неоспоримый ошибка типа токена
Anonymous » » в форуме JAVA - 0 Ответы
- 10 Просмотры
-
Последнее сообщение Anonymous
-