在第 intellij 14 行找不到可执行代码
no executable code found at line intellij 14
由于以下原因,我无法调试远程应用程序:第
行没有可执行代码
我是 运行 Intellij 终极版,版本 14.0.3。我的应用程序是 运行 inside tomcat 8 我正在使用 Maven 从命令行构建它。这个问题是我从社区版切换到终极版后出现的。
项目源相同,我可以连接到 tomcat 进行远程调试。唯一的问题是我所有的断点都失效了。
请教如何解决这个问题。
干杯。
删除所有与IDEA相关的项目文件,并通过.pom文件打开项目。
我遇到了同样的问题。只需编译 class 所在的目录,调试器就会选择断点。
有时刷新maven 依赖项、重建项目或刷新IntelliJ 缓存就足够了,而无需删除整个.idea 文件夹。检查这个 answer:
I had similar problems and various attempts has been applied. Below is
my usual steps:
- you are using Maven dependencies, go to Maven Projects -> refresh
- If that does not work, Try top menu --> Build --> Rebuild Project
- If that still doesn't work, try top menu --> File --> Invalidate
Cache/Restart
- If that still doesn't work, then
$CATALINA_BASE/bin/catalina.sh stop, then start
After this, usually it
covers 99% of the problems. Otherwise, Probably you will have to
examine some other possibilities.
我遇到了同样的问题,我实施了类似的解决方案。
Remove all IDEA related project files and open the project by the .pom file.
我的项目使用 Gradle,所以我从 intellij 中删除了该项目,然后重新导入它。
希望其他人能够阅读并帮助他们
如果您正在开发 Atlassian 插件并通过远程调试连接到服务器,运行 atlas-package
同步已部署的插件和您的源代码。
如果你是运行maven项目,在cmd提示符下执行以下命令。
mvn 全新安装
mvn 编译
这将解决问题。
由于以下原因,我无法调试远程应用程序:第
行没有可执行代码我是 运行 Intellij 终极版,版本 14.0.3。我的应用程序是 运行 inside tomcat 8 我正在使用 Maven 从命令行构建它。这个问题是我从社区版切换到终极版后出现的。
项目源相同,我可以连接到 tomcat 进行远程调试。唯一的问题是我所有的断点都失效了。
请教如何解决这个问题。
干杯。
删除所有与IDEA相关的项目文件,并通过.pom文件打开项目。
我遇到了同样的问题。只需编译 class 所在的目录,调试器就会选择断点。
有时刷新maven 依赖项、重建项目或刷新IntelliJ 缓存就足够了,而无需删除整个.idea 文件夹。检查这个 answer:
I had similar problems and various attempts has been applied. Below is my usual steps:
- you are using Maven dependencies, go to Maven Projects -> refresh
- If that does not work, Try top menu --> Build --> Rebuild Project
- If that still doesn't work, try top menu --> File --> Invalidate Cache/Restart
- If that still doesn't work, then $CATALINA_BASE/bin/catalina.sh stop, then start
After this, usually it covers 99% of the problems. Otherwise, Probably you will have to examine some other possibilities.
我遇到了同样的问题,我实施了类似的解决方案。
Remove all IDEA related project files and open the project by the .pom file.
我的项目使用 Gradle,所以我从 intellij 中删除了该项目,然后重新导入它。
希望其他人能够阅读并帮助他们
如果您正在开发 Atlassian 插件并通过远程调试连接到服务器,运行 atlas-package
同步已部署的插件和您的源代码。
如果你是运行maven项目,在cmd提示符下执行以下命令。
mvn 全新安装
mvn 编译
这将解决问题。