Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Hab ein kleines Problem mit einer Webservice Programmieraufgabe: Das Listing besteht aus Packages. Leider bekomme ich dazuz eine Fehlermeldung womit ich nicht weitergekommen bin.

package de.theserverside.webservice.service;

import javax.jws.WebService;

import javax.jws.soap.SOAPBinding;

import javax.jws.soap.SOAPBinding.Style;

@WebService

@SOAPBinding (style=Style.RPC)

public class Calculator {

public long addValues(int val1 , int val2){

return val1 + val2;

}

}

package de.theserverside.webservice.server;

import javax.xml.ws.Endpoint;

import de.theserverside.webservice.service.Calculator;

public class CalculatorServer {

public static void main(String[] args) {

Calculator server = new Calculator();

Endpoint endpoint = Endpoint.publish("http://localhost:8080/calculator", server);

}

}

FEHLERMELDUNG:

-----------------

java.lang.NoClassDefFoundError: de/theserverside/webservice/server/CalculatorServer

Caused by: java.lang.ClassNotFoundException: de.theserverside.webservice.server.CalculatorServer

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Exception in thread "main"

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.