SublimeLinter-javac 无法识别其他包 [英] SublimeLinter-javac not recognising other packages
问题描述
我有一个 Spring 产品,我正在尝试使用 sublimLinter-javac,并且项目周围散布着一些包.问题是 sublimeLinter-javac 无法识别这些包或其中的类.所以我最终每个文件有 200 多个错误,使列表毫无意义.我如何告诉 sublimeLinter 在哪里寻找这些类?
我猜你的类路径没有指向正确的地方.您可以在此处找到有关如何设置项目设置的说明.
最后,this 为您提供了一个关于类路径如何工作的示例>
I have a Spring Product That I'm trying the use sublimLinter-javac with, and there are a few packages scattered around the project. The problem is that sublimeLinter-javac is not recognising these packages or the classes within. So I end up with 200+ errors per file making the listing pointless. How do I tell sublimeLinter where to look for these classes?
I am guessing your classpath is not pointing to the right place. You can find here an explanation on how to set project settings.
Finally, this gives you a sample example on how classpath works
这篇关于SublimeLinter-javac 无法识别其他包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!