Меню Закрыть

Not all requested modules can be enabled

У меня возникла проблема с запуском файла в netbeans. Я использую netbeans 7.3 для запуска PHP-кода до сегодняшнего дня, и до сих пор он работал отлично. Внезапно, сегодня, когда я впервые попытался открыть php файл, он просто ничего не открывал, и не обнаружил никакой ошибки. Я попытался переустановить, но опять никаких изменений. Я заметил, что если я попытаюсь создать новый проект, он покажет мне это сообщение This feature is not yet enabled. Press Next to activate it . И я щелкнул дальше, и он показывает Not all requested modules can be enabled . и очень длинное сообщение. Я снова удалил. удаленные кэши и библиотеки для netbeans. Установленная снова и при первом открытии показала мне это предупреждение

Warning — could not install some modules: org.apache.commons.logging — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-commons-logging.jar: Not found bundle:org.apache.commons.logging org.apache.ws.commons.util — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-ws-commons-util.jar: Not found bundle:org.apache.ws.commons.util org.apache.commons.io — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-commons-io.jar: Not found bundle:org.apache.commons.io org.apache.commons.codec — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-commons-codec.jar: Not found bundle:org.apache.commons.codec org.apache.commons.httpclient — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-commons-httpclient.jar: Not found bundle:org.apache.commons.httpclient org.apache.xmlrpc — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-xmlrpc.jar: Not found bundle:org.apache.xmlrpc org.eclipse.*******.common — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-*******-common.jar: Not found bundle:org.eclipse.*******.common org.eclipse.core.jobs — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-core-jobs.jar: Not found bundle:org.eclipse.core.jobs org.eclipse.*******.registry — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-*******-registry.jar: Not found bundle:org.eclipse.*******.registry org.eclipse.*******.app — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-*******-app.jar: Not found bundle:org.eclipse.*******.app org.eclipse.*******.preferences — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-*******-preferences.jar: Not found bundle:org.eclipse.*******.preferences org.eclipse.core.contenttype — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-core-contenttype.jar: Not found bundle:org.eclipse.core.contenttype org.eclipse.core.runtime.compatibility.auth — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-core-runtime-compatibility-auth.jar: Not found bundle:org.eclipse.core.runtime.compatibility.auth org.eclipse.core.runtime — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-core-runtime.jar: Not found bundle:org.eclipse.core.runtime org.eclipse.*******.security — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-*******-security.jar: Not found bundle:org.eclipse.*******.security org.eclipse.core.net — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-core-net.jar: Not found bundle:org.eclipse.core.net org.eclipse.mylyn.commons.core — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-mylyn-commons-core.jar: Not found bundle:org.eclipse.mylyn.commons.core org.eclipse.mylyn.commons.repositories.core — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-mylyn-commons-repositories-core.jar: Not found bundle:org.eclipse.mylyn.commons.repositories.core org.apache.commons.lang — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-commons-lang.jar: Not found bundle:org.apache.commons.lang org.eclipse.mylyn.commons.net — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-mylyn-commons-net.jar: Not found bundle:org.eclipse.mylyn.commons.net org.eclipse.mylyn.commons.xmlrpc — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-mylyn-commons-xmlrpc.jar: Not found bundle:org.eclipse.mylyn.commons.xmlrpc org.eclipse.mylyn.tasks.core — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-mylyn-tasks-core.jar: Not found bundle:org.eclipse.mylyn.tasks.core org.eclipse.mylyn.bugzilla.core — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-mylyn-bugzilla-core.jar: Not found bundle:org.eclipse.mylyn.bugzilla.core com.jcraft.jzlib — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/com-jcraft-jzlib.jar: Not found bundle:com.jcraft.jzlib com.jcraft.jsch — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/com-jcraft-jsch.jar: Not found bundle:com.jcraft.jsch org.eclipse.jgit — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-jgit.jar: Not found bundle:org.eclipse.jgit .

Читайте также:  Kitfort kt 908 3

Я потратил почти день на это. Я использую netbeans 7.3. Заранее благодарю вас.

Я установил Netbeans в Ubuntu LTS 16.04, но я получаю сообщение об ошибке "Не все запрошенные модули могут быть включены" на этапе "Finding Feature" (см. ниже).

Следуя netbeans, можно включить не все запрошенные модули , Я попытался перейти в каталог /etc и найти netbeans.conf , но я не нашел такого файла (см. Ниже).

В чем может быть проблема?

2 ответа

Эта проблема возникает, когда вы используете настройки по умолчанию при установке NetBeans. В результате файл netbeans.conf имеет неправильное расположение JAVA_HOME . Эту проблему можно легко решить, если мы предоставим правильный путь для местоположения JAVA_HOME .

    Чтобы найти местоположение JAVA_HOME на вашем открытом терминале системы, нажмите Ctrl + Alt + T . Затем в терминале введите следующую команду.

env | grep JAVA_HOME

Результат будет примерно таким JAVA_HOME=/usr/lib/jvm/java-8-oracle . Здесь /usr/lib/jvm/java-8-oracle — это местоположение JAVA_HOME.

    Теперь найдите местоположение netbeans.conf . Для этого выполните следующую команду в терминале.

sudo find / -name netbeans.conf

После этого введите свой пароль. Результат будет примерно как /home/username/NetBeans/netbeans-8.2/etc/netbeans.conf . Выйдите из текущей текущей команды, нажав Ctrl + C .

    Скопируйте вывод из терминала с помощью Ctrl + Shift + C и выполните следующую команду, используя скопированный код.

sudo gedit /home/username/NetBeans/netbeans-8.2/etc/netbeans.conf

В вашем случае замените /home/username/NetBeans/netbeans-8.2/etc/netbeans.conf кодом, который вы только что скопировали, используя Ctrl + Shift + V .

Выше команда откроет код в gedit. Нажмите Ctrl + F , чтобы использовать поиск в gedit и выполните поиск netbeans_jdkhome=" . Это содержит место JAVA_HOME . Замените все после netbeans_jdkhome=" с расположением JAVA_HOME , найденным на шаге 1 выше. Сохраните и выйдите из файла.

Перезапустите NetBeans и попробуйте сделать новый проект. Если все еще не работает, перезагрузите систему и повторите попытку.

Читайте также:  Logitech wireless mouse m560 black usb

I am having problem in running a file in netbeans. I have been using netbeans 7.3 to run PHP code till today and so far it used to work perfectly. Suddenly, today when I first time tried to open a php file it simply did not open anything, neither showed any error. I tried reinstalling, but again no change. I noticed that if I try to create a new project then it shows me this message This feature is not yet enabled. Press Next to activate it . And I clicked next and it shows Not all requested modules can be enabled . and a very long message. I again uninstalled. removed caches and library for netbeans. Installed again and on first opening it showed me this warning

Warning — could not install some modules: org.apache.commons.logging — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-commons-logging.jar: Not found bundle:org.apache.commons.logging org.apache.ws.commons.util — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-ws-commons-util.jar: Not found bundle:org.apache.ws.commons.util org.apache.commons.io — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-commons-io.jar: Not found bundle:org.apache.commons.io org.apache.commons.codec — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-commons-codec.jar: Not found bundle:org.apache.commons.codec org.apache.commons.httpclient — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-commons-httpclient.jar: Not found bundle:org.apache.commons.httpclient org.apache.xmlrpc — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-xmlrpc.jar: Not found bundle:org.apache.xmlrpc org.eclipse.equinox.common — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-equinox-common.jar: Not found bundle:org.eclipse.equinox.common org.eclipse.core.jobs — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-core-jobs.jar: Not found bundle:org.eclipse.core.jobs org.eclipse.equinox.registry — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-equinox-registry.jar: Not found bundle:org.eclipse.equinox.registry org.eclipse.equinox.app — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-equinox-app.jar: Not found bundle:org.eclipse.equinox.app org.eclipse.equinox.preferences — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-equinox-preferences.jar: Not found bundle:org.eclipse.equinox.preferences org.eclipse.core.contenttype — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-core-contenttype.jar: Not found bundle:org.eclipse.core.contenttype org.eclipse.core.runtime.compatibility.auth — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-core-runtime-compatibility-auth.jar: Not found bundle:org.eclipse.core.runtime.compatibility.auth org.eclipse.core.runtime — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-core-runtime.jar: Not found bundle:org.eclipse.core.runtime org.eclipse.equinox.security — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-equinox-security.jar: Not found bundle:org.eclipse.equinox.security org.eclipse.core.net — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-core-net.jar: Not found bundle:org.eclipse.core.net org.eclipse.mylyn.commons.core — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-mylyn-commons-core.jar: Not found bundle:org.eclipse.mylyn.commons.core org.eclipse.mylyn.commons.repositories.core — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-mylyn-commons-repositories-core.jar: Not found bundle:org.eclipse.mylyn.commons.repositories.core org.apache.commons.lang — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-apache-commons-lang.jar: Not found bundle:org.apache.commons.lang org.eclipse.mylyn.commons.net — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-mylyn-commons-net.jar: Not found bundle:org.eclipse.mylyn.commons.net org.eclipse.mylyn.commons.xmlrpc — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-mylyn-commons-xmlrpc.jar: Not found bundle:org.eclipse.mylyn.commons.xmlrpc org.eclipse.mylyn.tasks.core — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-mylyn-tasks-core.jar: Not found bundle:org.eclipse.mylyn.tasks.core org.eclipse.mylyn.bugzilla.core — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-mylyn-bugzilla-core.jar: Not found bundle:org.eclipse.mylyn.bugzilla.core com.jcraft.jzlib — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/com-jcraft-jzlib.jar: Not found bundle:com.jcraft.jzlib com.jcraft.jsch — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/com-jcraft-jsch.jar: Not found bundle:com.jcraft.jsch org.eclipse.jgit — org.netbeans.InvalidException: Netigso: /Applications/NetBeans/NetBeans 7.3.app/Contents/Resources/NetBeans/ide/modules/org-eclipse-jgit.jar: Not found bundle:org.eclipse.jgit .

Читайте также:  Принтер эпсон л 120 не печатает

I spent almost a day on this. I am using netbeans 7.3. Thank you in advance.

Рекомендуем к прочтению

Добавить комментарий

Ваш адрес email не будет опубликован.