how to fix “”error” cannot find symbol java”?

I have just start learning programming. I get “error: cannot find symbol” if try compile main.java. main.java public class main { public static void main(String[] args) { Person dima = new Person(); System.out.println(dima.height); } } Person.java public class Person { int height = 189; } E:\study\java> javac Person.java E:\study\java> javac main.java main.java:3: error: cannot find…

Details

how to use spring annotation for simple json validation

In my api (which is java and spring framework), I receive http PUT request with user updates. At the moment it looks like this: @RequestMapping(value = “/updateDuplicateConflict”, method = RequestMethod.PUT) @ResponseStatus(value = HttpStatus.OK) public void updateDuplicateConflict(@RequestBody ObjectNode pBody) { JsonElement obj = JsonParser.parseString(pBody.toString()); serviJsonObject bodyObj = service.validateRequestBody(obj); service.updateDuplicateConflict(bodyObj);ce.updateDuplicateConflict(obj); } First, I pass it to validateRequestBody…

Details

data= pandas.read_csv(“Volcanoes(1).txt”)

getting error while using this command = data= pandas.read_csv(“Volcanoes(1).txt”) error:C:\Users\kisha\OneDrive\Desktop\pythonprogrms>C:/Users/kisha/AppData/Local/Programs/Python/Python38-32/python.exe c:/Users/kisha/OneDrive/Desktop/pythonprogrms/maps/map4withelv.py Traceback (most recent call last): File “c:/Users/kisha/OneDrive/Desktop/pythonprogrms/maps/map4withelv.py”, line 3, in <module> data= pandas.read_csv(“Volcanoes(1).txt”) File “C:\Users\kisha\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pandas\io\parsers.py”, line 685, in parser_f return _read(filepath_or_buffer, kwds) File “C:\Users\kisha\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pandas\io\parsers.py”, line 457, in _read parser = TextFileReader(fp_or_buf, **kwds) File “C:\Users\kisha\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pandas\io\parsers.py”, line 895, in __init__ self._make_engine(self.engine) File “C:\Users\kisha\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pandas\io\parsers.py”, line 1135, in…

Details