Category "intellij-idea"

Illegal UTF8 string in constant pool in class file error in IntelliJ

Whenever I try to run a file (java main, cucumber feature, junit test) I get the following error in IntelliJ Idea: Information:15/05/2015 14:57 - Compilati

Creating a jar from a maven project in intellij

I created a new maven project in IntelliJ and set packaging to jar but when I build it, the target folder does not contain a jar. I'm sure its something really

How to increase IDE memory limit in IntelliJ IDEA on Mac?

I'm using IDEA 12 Leda on Mountain Lion. I wanted to increase the maximum memory that IDE can use. I set the VMOptions in Info.plist file to be -Xmx2048m -ea -X

IntelliJ shortcut to comment line

There is a way in webstorm to comment or uncomment a specific line or selected block of source code with shortcut? I try to use CTRL + / but doesn't work for me

How do I stop Android Studio from highlighting specific words when double clicking?

Whenever I double click on whatever contains more than one word in it, Android Studio will highlight the word it thinks I'm clicking on rather than that entire

Parameter conditions "dietaryrestrictionssearches" not met for actual request parameters: active={304, 305}

my controller and model. I check two checkboxes and it should put those values 30 and 305 into table but I get this message. Any help would be appreciated @Req

IntelliJ IDEA highlights @Entity class names with "Cannot resolve symbol" in JPQL

IntelliJ IDEA highlights persistent @Entity class names with "Cannot resolve symbol" in red in JPQL which is distracting and buries real issues. So, for examp

Why can't Groovy find this program even though it's on my PATH?

tl;dr: Groovy cannot find a program (phantomjs, which is on my $PATH) when I attempt to execute the shell command from a class -- it's otherwise finds it just f

IntelliJ not picking up environment variables when using ZSH?

I am using oh-my-zsh for my terminal. I have set IntelliJ to use /bin/zsh as the shell path. However no environment variable in my .zshrc file ever seems to ge

Intellij code style setting for wrapping on multi line function arguments

The Spark code style requires four character indentation for multi parameter methods. So: the following code -as presently formatted by IJ - is incorrect: def

how to solve the warning Unrecognised tag: 'snapshotPolicy'?

When maven build there is a warning: [WARNING] Unrecognised tag: 'snapshotPolicy' (position: START_TAG seen ...</url>\n <snapshotPolicy>..

JetBrains IntelliJ Error launching Intellij Platform - Error invoking main method

I have IntelliJ IDEA and other JetBrains products installed and they worked great (PyCharm, Android Studio, Clion, WebStorm) till today, now I just get opening

JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]

I have been trying to run with JRebel this configuration: Here is my output: c:\JBOSS\jboss-portal-2.7.2\bin\run.bat -c default c:\JBOSS\jboss-portal-2.7

XSD to XML Converter

I am trying to convert an XSD file into its corresponding XML document. Using IntelliJ's built-in tool makes this easy but something is wrong. It seems to be

IntelliJ replace variable names in multiple lines

I am wondering is there a shortcut that can replace a variable name with a new name on multiple lines in the current Java file for IntelliJ. Is it just simply d

IntelliJ IDEA 2017.1 does not stop on breakpoints

I have an old Gradle project that I've opened recently using the new IDEA 2017 and I have just noticed it will not stop on breakpoints anymore (these are active

Error when run jar Exception in thread "main" java.lang.NoSuchMethodError scala.Predef$.$conforms()Lscala/Predef$$less$colon$less;

I work on spark application using (spark 2.0.0 & scala 2.11.8) and the application works fine within intellij Idea environment. I've extracted application a

intellij incorrectly saying no beans of type found for autowired repository

I have created a simple unit test but IntelliJ is incorrectly highlighting it red. marking it as an error No beans? As you can see below it passes the test?

Creating a new thymeleaf template in IntelliJ

I am using IntelliJ to make an app that uses thymeleaf but when I click to create a new file there is no option for thymeleaf. I know thymeleaf files are just h

Running IntelliJ in WSL2 - how to make keyboard shortcut ctrl+alt+arrows work

My environment: Windows 11 22000.493 -> Host OS WSL 5.10.60.1 Ubuntu: 20.04.3 LTS -> Guest OS IntelliJ: Build #IC-213.6777.52, built on January 28, 2022 -