LoginSignup
0
0

More than 1 year has passed since last update.

Eclipse - インポートされたjavax.wsは見つかりません。を解決する

Posted at

自分用メモ

解決策

Tomcat10ではパッケージ名がjavax.wsからjakarta.wsに変更された。
import文を修正することでエラー解消できる

import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.Produces;
import jakarta.ws.rs.QueryParam;
import jakarta.ws.rs.core.MediaType;
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0