redhat-developer / redhat-developer/vscode-java
<file> s not on its project's build path
オープン
まだ誰も着手していません。
classpath
ls-error/crash
- 主要言語
- TypeScript
- スター
- 2.3k
- フォーク
- 546
- 平均マージ
- 20時間 1分
- マージ済み PR(30日)
- 11
説明
I get the following log output:
tomcat/work/Catalina/localhost/_/org/apache/jsp/tag/web/shared/googleTagManager/dataLayerInc [in platform] is not on its project's build path
Java Model Exception: Java Model Status [tomcat/work/Catalina/localhost/_/org/apache/jsp/tag/web/shared/googleTagManager/dataLayerInc [in platform] is not on its project's build path]
at org.eclipse.jdt.internal.core.JavaElement.newJavaModelException(JavaElement.java:580)
at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:253)
at org.eclipse.jdt.internal.core.Openable.openAncestors(Openable.java:527)
at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:247)
The tomcat folder should not be on the build path, so this error is not really an error!
Unfortunately the SAP Hybris Eclipse projects are pretty messed up (not fixable by me).
Environment
- Operating System: macOS 10.12.6 (16G1314)
- JDK version: java version "1.8.0_144"
- Visual Studio Code version: 1.24.1 (1.24.1)
- Java extension version: 0.27.0
Steps To Reproduce
Build the SAP Hybris platform project.
Current Result
Exception is thrown.
Expected Result
Don't throw an exception in that case, because it is not an exception, just ignore the file.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Java 拡張機能で SAP Hybris プラットフォームプロジェクトをビルドして、問題を再現します。プロジェクトのビルドパス外にある tomcat/work パスに対する Java Model Exception の処理を追跡し、その後、このパスを例外として報告せずにビルドが完了することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java, vscode
- 領域
- developer-experience, tooling
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100