Linked Questions
15 questions linked to/from Intellij Cannot resolve symbol on import
5 votes
2 answers
13k views
IntelliJ can't find Scanner class [duplicate]
I am using Intellij IDEA. Here is my code: public static void main(String[] args) { java.util.Scanner scanner = new java.util.Scanner(System.in); int a = scanner.nextInt(); ...
0 votes
0 answers
98 views
Cannot resolve Symbol "Scanner" Java [duplicate]
package com.company; import java.util.Scanner; public class Main { public static void main(String[] args) { System.out.println("hello world !"); } } It says that Scanner ...
178 votes
35 answers
224k views
Why so red? IntelliJ seems to think every declaration/method cannot be found/resolved
I just installed and re-installed IntelliJ. Every Java file is coming up RED. I checked the JDK; it is at 1.6.##. The maven clean install build worked just fine. I'm getting the usual highlighted ...
4 votes
6 answers
16k views
IntelliJ cannot resolve any symbols or methods
IntelliJ IDEA 2017.2 I know this has been asked, but I have tried every fix I could find, as shown below. Every symbol in my java code has an error Cannot resolve method, or Cannot resolve symbol. ...
4 votes
1 answer
12k views
Intellij cannot resolve symbol 'lang3' apache
I would like to use StringUtils and have downloaded the "apache commons jar" zip file, copied the unzipped jar file into a lib folder in my intellij project, and added it to Libraries and to the ...
0 votes
1 answer
3k views
object util is not a member of package com.amazonaws.services.glue
The title is the error I'm getting when running sbt ++2.11.12 clean update package. It's caused by this line: import com.amazonaws.services.glue.util.GlueArgParser I was also getting a Cannot ...
1 vote
1 answer
2k views
IntelliJ cannot resolve Spark external libraries
I'm trying to setup Apache Spark project (pulled lastest master branch) in my IntelliJ IntelliJ IDEA 2016.2.5 Build #IC-162.2228.15, built on October 14, 2016 JRE: 1.8.0_112-release-287-b2 x86_64 JVM:...
-1 votes
1 answer
2k views
IntelliJ IDEA Java Maven `The type java.lang.Object cannot be resolved`
Upon IntelliJ IDEA > File > New > Project from Existing Sources... > Import project from external model > Maven, I can't successfully mvn compile. Instead Maven fails that with.. [ERROR]...
0 votes
1 answer
1k views
Import Springframework source code in IntelliJ IDEA
Mac OSX Catalina JDK: 1.8.0_191 IDE: IDEA 2019.2.4 Step 1: I cloned the latest code from Github repo: https://github.com/spring-projects/spring-framework.git. Step 2: Then follow the guidelines of ...
1 vote
0 answers
380 views
Intellij cannot import class
I added dependency to my pom file. I see that it was added to the dependency tree. In the class Idea proposes to import the class I need but when I press alt+enter nothing happens, it just proposes to ...
3 votes
1 answer
184 views
Cannot resolve symbol 'ProcessHandle' on Android Studio
For some strange reason, I cannot make ProcessHandle be resolved in my Android Studio environment: Android Studio Koala | 2024.1.1 Patch 1 Build #AI-241.18034.62.2411.12071903, built on July 11, 2024 ...
0 votes
0 answers
272 views
IntelliJ Idea Cannot resolve imported jar at kotlin projec
I create kotlin project at this link https://github.com/davidasync/dismember-pedia and use gradle installDist to create .jar file. And I copy paste the jar file at https://github.com/davidasync/...
0 votes
0 answers
196 views
Java can't create Connection object
This is the first time I'm connecting to a database so I am sorry if it's a stupid question but I am trying to follow tutorial or something but every one already starts where creating a Connection ...