intellij-14

no executable code found at line intellij 14

你。 提交于 2020-06-24 16:37:51
问题 I am unable to debug remote applications due to: No executable code at line I am running ultimate edition of Intellij, version 14.0.3. My application is running inside tomcat 8 and i'm building it from the command line using Maven. This problem appeared after i switched from the community edition to the ultimate edition. Project sources are the same and I am able to connect to tomcat for remote debugging. The only issue is that all my breakpoints are invalidated. Please advice on how to fix

How can I force update all the snapshot Gradle dependencies in intellij

痴心易碎 提交于 2020-06-09 09:18:50
问题 I have a project with some SNAPSHOT dependencies that uses gradle as its build tool in intellij. The problem is that intellij is using SNAPSHOTS that are now outdated. When I build the project on the command line gradle build or gradle clean build --refresh-dependencies On command line the latest dependencies are fetched. I also setup my grade file to always download snapshot dependencies according to this answer. How can I force intellij to download all dependencies? 回答1: I have run into

Find and Replace symbol for whole project intellij?

非 Y 不嫁゛ 提交于 2020-02-26 07:47:11
问题 In IntelliJ IDEA , is there an option to find and replace a symbol for whole project with on time operation? 回答1: Replacing a piece of text in all the files within the specified path do one of the following: On the main menu, choose Edit | Find | Replace in Path Press Ctrl + Shift + R You can try Ctrl + Shift + F . And if you are using Eclipse keymap for IntelliJ then you can use Ctrl + H . 来源: https://stackoverflow.com/questions/38342752/find-and-replace-symbol-for-whole-project-intellij

Sqlite: Execute Spatialite Functions in Intellij

白昼怎懂夜的黑 提交于 2020-01-24 14:18:05
问题 Does anyone know whether it is possible to execute spatialite functions on sqlite-databases in intellij? Reference of spatialite functions: http://www.gaia-gis.it/gaia-sins/spatialite-sql-4.2.0.html In particular, I would be interested in using functions on type Point. Thanks! Edit: Functions do work within the official spatialite-gui, however I don't think there is a way to use the spatialite-gui programmatically, is there? Here is what I tried so far: In intellij I connected the Java JDBC

Show indentation line in IntellIJ IDEA

你。 提交于 2020-01-12 07:02:48
问题 There is a plugin in vim which shows you "dots" (or lines, etc.) where the indentation level is. Example: Is there something similar for IntellIJ IDEA? 回答1: Go to Settings/Editor/General/Appearance and select Show vertical indent guides to enable this feature in IntelliJ. 回答2: @AjayZonu The above answer didn't do it for me. I believe you were looking for General > Appearance > Show Whitespaces. I had to follow that with adjusting the "Whitespaces" color because of using a dark theme. 来源:

Intellij Formatter keeps moving method level annotation and method signature in one line

不羁的心 提交于 2020-01-06 05:53:06
问题 I have tried several formatter settings in the IDE but I am not able to achieve following: @Test public void testMethod(){ .............. } IntelliJ keeps changing above code to: @Test public void testMethod(){ .............. } Has anyone been able to figure this out? 回答1: go to Settings and then go to Editor --> Code Style --> Java , then switch to tab Wrapping and Braces , node Keep when reformatting , checkbox Line breaks . Switch this checkbox on . Also look at Method annotations This

Exception in thread “main” java.lang.ClassNotFoundException:

坚强是说给别人听的谎言 提交于 2020-01-01 08:45:11
问题 I recently installed intellij IDEA 14.0 and to make sure everything was working I created a simple Hello World program. I do not understand why the output is not correct and why I am getting this error. If someone could please help that would be great. This is the program: public class Hello { public static void main(String[] args) { System.out.println("Hello World!"); } } This is the error: Exception in thread "main" java.lang.ClassNotFoundException: Hello at java.net.URLClassLoader$1.run

IntelliJ 14 Ultimate - Can not add framework

陌路散爱 提交于 2019-12-24 14:17:17
问题 Why can I not add the maven framework to my module? 回答1: Maven is not considered as a framework in IntelliJ. If you want to add Maven support to your project, you should open the parent pom.xml , which will reimport the project as a Maven project. See the documentation for further detail. To import a Maven project with default settings On the main menu, choose File | Open. In the dialog box that opens, select the desired pom.xml file, and click OK. In this case the import is performed

How to remove (phantom) breakpoints pointing to old/missing source from Intellij IDEA?

无人久伴 提交于 2019-12-23 22:18:08
问题 Using Intellij (v14 and now v15) I have put breakpoints to debug no-yet released classes coming from an external dependency (usually a snapshot version) for a web app running in Tomcat 7+. when I change that external dependency to a released version, recompile the project and run in debug mode; IntelliJ still halts the execution at the old class breakpoint even though the breakpoint no longer exists in the breakpoint list view (from menu: Run > Breakpoints). I have tried the following: Clean

Installing PHP plugin in Intellij Idea Community Addition

泄露秘密 提交于 2019-12-23 10:38:49
问题 I am trying to install PHP plugin in my Intellij Idea IDE (Community Edition version 14), I believe this is very much supported, as I see there's a plugin site showing community PHP plugin. URL : https://plugins.jetbrains.com/plugin/6610?pr=idea_ce have downloaded and trying to install from option Settings > plugin > "install plugin from disk..." when I am selecting the above downloaded plugin it is showing error "Plugin PHP is incompatible with this installation" can someone please help. --