255 questions
0
votes
1
answer
119
views
C/c++ lua embedded: missing symbol when requiring native library [duplicate]
I'm attempting to embed Lua (using minilua.h) into my project. Pure lua scripts work, but anything requiring native libraries fails stating that lua_type symbol is missing, but it's not according to ...
0
votes
1
answer
387
views
How do I deal with "symbol not found" in my Java package?
My Java project for my CS class is acting completely whack, and I have no idea why. There's three classes (Cons, Nil, and List) all in a package called "funlist" and in the same folder (also ...
1
vote
1
answer
458
views
Cannot find symbol exception using Lombok
I use Lombok in my Spring project and because I use the IDE Visual Studio Code with the plugin Extension Pack for Java, the necessary generated sources are created automatically. This works inside of ...
-1
votes
1
answer
113
views
How to pass array into a method correctly: cannot find symbol [duplicate]
I'd like to print out the names of people that do not have their time as 0, but maybe its the way that im passing the parameters that it doesnt work? I have the number of entries input as 5
Note:
I am ...
2
votes
0
answers
406
views
Firebase dSYM Missing Issue - Multiple Falvors
I'm encountering an issue with Firebase in my project, specifically related to a missing dSYM file. I've tried multiple setups with Xcode for setting up with different flavors. , but I'm still stuck.
...
1
vote
1
answer
169
views
Unable to resolve import from (src/test/java) Test classes packages from one subproject to another subproject (src/test/java) test classes
Error: The import XXX cannot be resolved
I'm facing this issue in Java 11 while trying to migrate from java 8.
Parent Project X:
Project A:
Project Aa:
src/test/java:
...
0
votes
1
answer
483
views
Can't find class in generated sources produced by custom annotation processor when running java program
I have written an annotation processor to generate classes to the generated sources directly during compilation. The class generates with valid syntax, and to the correct, matching (same as interface ...
0
votes
0
answers
67
views
Cannot resolve symbol 'InlineData'
I'm a engineer student and as I need to use rider to code in C# I also need to use Unitest. The problem is that when I write code like this
public class Pyramid
{
[Theory]
[InlineData(1, '*', &...
0
votes
0
answers
258
views
Cannot find symbol class Java
package com.test;
public class Main {
public static void main(String[] args) {
Car car = new Car();
System.out.println("Car speed: " + car.speed);
}
}
package com....
0
votes
1
answer
120
views
Java: cannot find symbol when files are in same folder
I created a file Organ.java
package OrganProject;
public class Organ{
private String name;
private String condition;
public Organ(String name, String condition){
this.name = ...
0
votes
1
answer
472
views
error: cannot find symbol import com.example.databinding2.databinding.ActivityMainBindingImpl;
I'm unable to resolve this error.
I wanted to use two-way databinding in edittext.
Here is the code for the layout file.
<?xml version="1.0" encoding="utf-8"?>
<layout ...
0
votes
3
answers
794
views
How will I be able to resolve the "cannot find symbol" issue for this code?
I am making a Java program about a simple student management system. Here's the summary of how the code works:
Student class
Represents a student with attributes such as the name and grade
Provides ...
0
votes
1
answer
2k
views
Why am I seeing the "cannot find symbol error" in java when creating an object from another class?
This is my primary class named Revenue where I'm trying to call a secondary class in same directory as this one and in the same package as well
package Hotel;
//import java.util.*;
public class ...
-1
votes
1
answer
1k
views
cannot find symbol even the classes are in same package , same directory [duplicate]
I have two classes, one is Course, another is CourseController.
They are in the same package , same path;
But when I compile javac CourseController.java, Intellij says :"error: cannot find symbol&...
0
votes
2
answers
959
views
Cannot resolve symbol error | Android Studio Error | ROOM Database
I am working on a notepad application in java. After initializing the database in RoomDB.java class, i am importing the values in my MainDAO.java interface to perform Datebase logics. However, i get ...
0
votes
1
answer
251
views
Why CalendarView in android show error when declare or initialize?
good day,
I meet some error when I try to code this.
If I initial when declare, it show like this .
public class FragmentCalendar extends Fragment {
Calendar calendar;
CalendarView ...
1
vote
0
answers
497
views
Visual Studio CPU profiler can't load symbols when copied to a different machine
So I made a profiling using Visual Studio 2022 CPU profiler on one machine. Then I copied the resulting .diagsession file to the local copy of the same project on another machine. But when I try to ...
0
votes
1
answer
66
views
Java - cannot find symbol. Both Files in same directory
I am new to java and have been trying to learn it and now I have been facing this error even though both the files are in the same folder :
BankTest.java:3: error: cannot find symbol
...
1
vote
4
answers
6k
views
Android studio - kotlin class not found when implementing in java file - error "cannot find symbol class"
I am trying to use a kotlin class in my java class in android studio. But I get the following error twice...
"cannot find symbol class KotlinClass"
KotlinClass is the file name of the kotlin ...
0
votes
1
answer
638
views
Cannot find Connection, DriverManager and Statement variables in netbeans using ucanaccess
I am not a programmer and basically this is like a cut-and-paste assignment from our lecturer which did not turn out well for me. Here is the code:
try
{
Class.forName("net....
0
votes
1
answer
76
views
CPLEX cannot extract the expression
program-EV Charge Scheduling
error
Description Resource Path Location Type
CPLEX(default) cannot extract expression: forall(i in 0..11, j in 0..4) if ( soc[i][j] > 0.7 ) pevch[i][j] == soc[...
3
votes
0
answers
230
views
Cannot use resources in AAR pack in Android Library module:cannot resolve symbol
the project structure is:
project
--app
--library_module1
--library_module2
and i need to use AAR files in library_module1.
i put aars in library_module2 and added them using artifacts.add() in build....
0
votes
0
answers
843
views
Package not found and generated classes are not recognized
I am using wsdl2java plugin for genreating wsdl in a gradle project. I am using intellij.
Now the functionality of JAXB seems fine and from some XSD schema several Java classes are generated in build/...
0
votes
1
answer
2k
views
java: cannot find symbol symbol: method getRoles()
My Role Class. I have getter setter annotations:
@Getter
@Setter
@Builder
@Entity
@Table(name = "role_table")
@NoArgsConstructor
@AllArgsConstructor
public class Role {
@Id
@...
0
votes
0
answers
69
views
How do I recreate the Array List built in method Offer() to add a string to an existing Array List?
I am trying to recreate the built in method Offer() myself to use to add items(Strings) to an existing Array List.
Here is my code already:
import java.util.ArrayList;
public class PriorityQueue<...
2
votes
2
answers
504
views
"Cannot find method window()" in IntelliJ (Java)
So I'm learning Selenium for test automation with Java, and I have an error message like in the title, "window()" in IntelliJ is red .
I was trying to import org.openqa.selenium.WebDriver....
0
votes
1
answer
207
views
Conditional Gradle dependencies based on function result
How can i import Linphone library only when built in Sip Api is not supported?
Because this library greatly affects to apk size (~100 Mb)
This is example of conditional dependency (based on variable ...
0
votes
0
answers
2k
views
cannot find symbol for "nl.altindag.ssl.SSLFactory;"
I have looked at all the similar questions regarding "cannot find symbol". Most of them give a vague answers in terms of
"It means that either there is a problem in your Java source ...
0
votes
1
answer
224
views
fully qualified name vs import statement [duplicate]
case 1.
class A extends java.util.ArrayList
{
public static void main(String[] args)
{
ArrayList a=new ArrayList();
}
}
Here I am getting a compiletime error saying,
cannot ...
0
votes
0
answers
1k
views
* What went wrong: Gradle could not start your build
What went wrong:
Gradle could not start your build.
*- Cannot create service of type TaskExecuter using method ProjectExecutionServices.createTaskExecuter() as there is a problem with parameter #17 of ...
0
votes
0
answers
127
views
Cannot find symbol class MessageRVAdapter
I do have a MessageRVAdapter in my project directory but I don't know why my app isn't finding this class.
I get the following problem in MainActivity.java within app\src\main\java\com\example\chatbot:...
0
votes
2
answers
168
views
This constantly results in "Error Cannot Find Symbol" in the terminal. Would very much appreciate if someone could tell me how to fix it [duplicate]
So, this is the sample code that we are supposed to use as reference for a formative assessment. I decided to run it in the terminal to see if it would work, and it always result in "Error Cannot ...
0
votes
0
answers
19
views
Is there a solution to this cannot find symbol error [duplicate]
I am having trouble figuring how to solve this "cannot find symbol" error. The error is occurring in the line with if (serverNamePart1.length >= 3) { and it saying that serverNamePart1 is ...
0
votes
0
answers
17
views
Why am I getting a cannot find symbol error in my factory class [duplicate]
I'm trying to create a factory that contains chart types but I'm getting a cannot find symbol error on my this.map.put(chart.nc); under nc and I have no idea why, can anyone tell me what I'm doing ...
0
votes
1
answer
557
views
I can't seem to find the reason why its "error: cannot find symbol"
[Disclaimer: Beginner in Java]
My program has run into a problem just now, while I was trying to finish it up. The error was that it cannot find the symbol, and the IDE (I am using Text Pad) pinpoints ...
2
votes
0
answers
1k
views
lombok getter not found when used in @Configuration or within entity of Spring Boot when compiling
I am struggling for quite a while to make Lombok getter available in two parts of my Spring Boot API. Despite many articles about this error, I haven’t found a suitable solution on the internet for my ...
0
votes
1
answer
306
views
Survicate React-Native error: cannot find symbol Survicate.Survicate.setWorkspaceKey(workspaceKey);
After following the instruction on the document: https://github.com/Survicate/react-native-survicate I got build failed on Android:
error: cannot find symbol
Survicate.Survicate.setWorkspaceKey(...
0
votes
1
answer
725
views
Cannot find symbol in toString
Problem
I am trying to create a simple Suitcase class that wraps some Items which have a weight.
I created a getTotalWeight() method and now I want to call it in my toString method but I get:
cannot ...
1
vote
3
answers
2k
views
Why I am getting error "cannot find symbol" when I would like to use java.io.File class?
I'd like to use isDirectory() method (java.io.File class). I created a simple test code to try out this method, however I always get a 'cannot find symbol' error.
My code:
import java.io.File;
public ...
0
votes
1
answer
2k
views
Symbol from shared library not found, though defined
I'm working on C++ code called, via pybind11, from a Python (v3.8) application on Ubuntu 20.04.
Running the application I get an error
Traceback (most recent call last):
snip...
ImportError: <full-...
0
votes
2
answers
2k
views
Java Netbeans Cannot Find Symbol
I am working through a practice assignment in my Java Programming Textbook and have encountered the common "error: cannot find symbol". I have to create an application that refers to another ...
-1
votes
1
answer
1k
views
'error: cannot find symbol' in Java method that looks for second occurrence of substring [duplicate]
I am writing a method that looks for the index of the second occurrence of a substring in an array. It finds the index of the first occurrence fine.
Next, I tried to create the loop that would start ...
-3
votes
1
answer
1k
views
Java: "cannot find symbol" of a return value
I set up a variable that I want returned, but it does not work.
The goal of this method is to create a random name generator which can be expanded as I see fit.
But it does not return the ...
2
votes
1
answer
2k
views
clang++ warning "could not find object file symbol for symbol" when linking v8 engine's static library in debug mode
I'm trying to run V8 engine's samples from here: Getting started with embedding V8. The output static library is built in release mode, locate at out.gn/libv8_monolith.a and clearly has no debugging ...
-2
votes
2
answers
5k
views
Cannot access class in java
I am trying to create a class to send information on the day of the week. For some reason when I try to include the class I get an error saying:
CreateCalendarVisuals.java:1: error: cannot access ...
0
votes
1
answer
103
views
Deploying Azure VM in Avilability Zone with Java SDK not working
I have been trying to deploy an Azure VM to an availability zone like the following link https://azure.microsoft.com/en-us/blog/java-manage-availability-zones-and-more/, but I keep on getting the ...
0
votes
1
answer
646
views
Cannot resolve symbol 'Gamepanel' [duplicate]
i had this problem with this code and it got the error "Cannot resolve symbol 'Gamepanel'"
import java.awt.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.*;
public class ...
-1
votes
1
answer
680
views
I keep getting "error: cannot find symbol" message while trying to put responses
import java.util.Scanner;
public class Outside{
public static void main (String[] args){
Scanner scan = new Scanner (System.in);
System.out.print("Is your homework done? ");
...
0
votes
0
answers
3k
views
react-native-config: cannot find symbol
I've got a fresh React Native app, where I'm trying to use react-native-config:
npx react-native init RNConfigDemo
cd RNConfigDemo
yarn add react-native-config
echo "SOME_VAR="something&...
0
votes
1
answer
163
views
using getContentpane with FlowLayout to apply changes on Layout, but it does not work why?
Hi there I'm was trying to make 3 buttons(left, center, right) with actionListener, so when someone clicks on one of these buttons the alignment of FlowLayout of the frame change, but when I'm was ...