Errors exist in required project ошибка

I use eclipse to code in java. My code was running perfectly fine. Finally, i deleted some files which were not needed from my drive.

Right now, I have the source file and the compiled .class files in the correct folders. Also, although I initially had multiple .java files, I am 100% sure that the one I need is there and also that it doesn’t need anything from any other thing. All the imports (i import only from standard libraries) are showing no error.

The problem is that when i make any changes in my .java file, and save it, it does get saved but when I execute the code, it runs just like the old version, i.e. the changes are not reflected in the output. Also, on clicking ‘run’, eclipse gives a warning that ‘errors exist in required projects’ although the editor shows none.

Whats going wrong ? Please help.

I started from scratch…

  • New install of Eclipse 2021-09
  • New install of idf-eclipse-plugin
  • New workspace
  • Create new Espressif IDF Project
  • Selected template storage/sd_card/sdmmc
  • Created target for esp32s3
  • Opened main/sd_card_example_main.c for the first time…

image

A build hadn’t been done yet so the missing includes are expected.

  • Started a build which completed successfully.

image

The includes have all been found but there are still unresolved symbols.

  • Start a flash

image

  • Pressed «Proceed» and the flash completed successfully.

  • Re-run the indexer

image

Everything except this one define is resolved.

  • CTRL-click on SDMMC_SLOT_FLAG_INTERNAL_PULLUP

image

I get taken directly to the definition in sdmmc_host.h.

  • Closed the project
  • Did an idf fullclean from a shell
  • Reopened the project and sd_card_example_main.c

image
image

Now there’s a different set of errors.

This is only a small sample project. In my larger projects this is way more intrusive.

There are no errors in the Eclipse log BTW.

Katalon Community

Loading

I use eclipse to code in java. My code was running perfectly fine. Finally, i deleted some files which were not needed from my drive.

Right now, I have the source file and the compiled .class files in the correct folders. Also, although I initially had multiple .java files, I am 100% sure that the one I need is there and also that it doesn’t need anything from any other thing. All the imports (i import only from standard libraries) are showing no error.

The problem is that when i make any changes in my .java file, and save it, it does get saved but when I execute the code, it runs just like the old version, i.e. the changes are not reflected in the output. Also, on clicking ‘run’, eclipse gives a warning that ‘errors exist in required projects’ although the editor shows none.

Whats going wrong ? Please help.

2 / 2 / 0

Регистрация: 09.10.2013

Сообщений: 48

1

26.01.2014, 10:14. Показов 4103. Ответов 5


Студворк — интернет-сервис помощи студентам

Здравствуйте, народ! Мне посоветовали Eclipse, и я теперь не могу понять его. Я говорю: File — New — Java Project — ProjectName=Hello — Finish — File — New — Class — Helloworld — ставлю галку рядом с void main(String[] args) — Finish — пишу в main’е System.out.print(2+2);
Результат: Errors exist in required project(s):
Hello
Proceed with launch?
Я нажимаю proceed. Вылезает следующее: ‘Launching Helloworld’ has encountered a problem. The specified JRE installation does not exist.
Хотя у меня есть и JRE и JDK. Помогите, пожалуйста, в чем проблема?



0



Programming

Эксперт

94731 / 64177 / 26122

Регистрация: 12.04.2006

Сообщений: 116,782

26.01.2014, 10:14

Ответы с готовыми решениями:

Скачал eclipse-SDK-3.7-win32, распаковал, запустил, а мне выдает ошибку
ребята, помогите, пожалуйста. скачал eclipse-SDK-3.7-win32, распаковал, запустил, а мне выдает…

Правильно-ли мне посоветовали
На другом форуме получил вот такой совет

"Затем, если хотите поднять посещаемость, выделите ядро…

Научите пользоваться MinGW
Здравствуйте, я новичок и только вчера скачал MinGW и установил. Но я ламер и не могу понять даже…

научите пользоваться ds1054z
:-)
подключил вот термопару от мультиметра, а там жирная полоса шириной в 100мв. и как понять…

5

237 / 236 / 72

Регистрация: 02.07.2013

Сообщений: 881

26.01.2014, 10:39

2

Java-машину устанавливали ПЕРЕД установкой Эклипса?

посмотрите, куда в Эклипсе сохраняются Ваши проекты. И затем, соответственно, что там находится.



0



3 / 1 / 0

Регистрация: 22.01.2014

Сообщений: 11

26.01.2014, 13:25

3

а что в Eclipse — Run Configurations, вкладка JRE ?



1



2 / 2 / 0

Регистрация: 09.10.2013

Сообщений: 48

26.01.2014, 18:21

 [ТС]

4

1) да, перед установкой Eclipse.
2) А что там должно находиться?

Добавлено через 1 минуту
галка на первом, там где project execution environment ‘OSGI/Minimum-1.2’ (undefined)



0



237 / 236 / 72

Регистрация: 02.07.2013

Сообщений: 881

27.01.2014, 08:31

5

что-то криво у Вас встало
посмотри тут

Добавлено через 2 минуты

Цитата
Сообщение от Kuroobi
Посмотреть сообщение

(undefined)

а должно быть (jre7)



0



ɐwʎ ɔ vǝmоɔ dиw ɐʚонɔ

443 / 442 / 100

Регистрация: 14.10.2012

Сообщений: 1,146

Записей в блоге: 9

27.01.2014, 18:14

6

там где (undefined) нужно выбрать папочку с jre7 (как правило в program files/Java…)



1



  • Error ошибка текущая транзакция прервана команды до конца блока транзакции игнорируются postgresql
  • Error ошибка создания обращения 403 ok
  • Error ошибка приложения list index out of bounds 0
  • Error ошибка приложения invalid index
  • Error ошибка необходимо указать тип результата функции sql state 42p13