質問編集履歴
1
質問内容の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,11 +1,20 @@
|
|
1
1
|
### 実現したいこと
|
2
2
|
エラーの原因を見つけを解消したい
|
3
|
-
### 前提 STSを使いアプリ作成の練習をしてい
|
3
|
+
### 前提 STSを使いアプリ作成の練習をしています。再起動するとDescription Resource Path Location Type
|
4
|
+
メソッド remove(String, char) は型 StringUtils で未定義です PlaceMasterEntityWrapper.java /kdc/src/main/java/com/kdc/common/entity/db というエラーが出ます。
|
4
|
-
|
5
|
+
StringUtilsは特にいじったり編集する必要がないと規則があるため、これらの原因と対応策を教えていただきたいです。
|
6
|
+
よろしくお願いします。(2つあります)
|
7
|
+
|
8
|
+
①public void setLongitudeandlatitude(String longitudeandlatitude) {
|
9
|
+
super.setLongitudeandlatitude(longitudeandlatitude);
|
10
|
+
longitudeandlatitude = StringUtils.remove(longitudeandlatitude, '(');
|
11
|
+
longitudeandlatitude = StringUtils.remove(longitudeandlatitude, ')');
|
12
|
+
String temp[] = longitudeandlatitude.split(",");
|
13
|
+
this.latitude = new BigDecimal(temp[0]);
|
5
|
-
|
14
|
+
this.longitude = new BigDecimal(temp[1]);
|
6
|
-
|
15
|
+
}
|
16
|
+
|
7
|
-
|
17
|
+
②
|
8
|
-
|
9
18
|
// 末尾の区切り文字を切り捨てて格納
|
10
19
|
// 場所リスト
|
11
20
|
form.setPointList(StringUtils.removeEnd(pointListStr.toString(), ";"));
|
@@ -182,12 +191,14 @@
|
|
182
191
|
|
183
192
|
form.setUserList(userList);
|
184
193
|
|
194
|
+
}
|
185
195
|
|
186
196
|
### 発生している問題・エラーメッセージ
|
197
|
+
・メソッド removeEnd(String, String) は型 StringUtils で未定義です
|
187
|
-
|
198
|
+
・メソッド remove(String, char) は型 StringUtils で未定義です
|
188
|
-
|
199
|
+
|
189
|
-
|
190
|
-
### 試したこと
|
200
|
+
### 試したこと
|
191
|
-
|
201
|
+
再起動、デバッグ
|
202
|
+
biuld.gradleの編集、リフレッシュ
|
192
203
|
### 補足情報(FW/ツールのバージョンなど) spring tool suite4
|
193
204
|
|