SublimeLinter-javac 无法识别其他包 [英] SublimeLinter-javac not recognising other packages

查看:25
本文介绍了SublimeLinter-javac 无法识别其他包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆