You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/08/29 12:10:33 UTC

[GitHub] [netbeans] Markus-Elfring opened a new issue, #4563: Message “package … does not exist” despite of a corresponding Java source file

Markus-Elfring opened a new issue, #4563:
URL: https://github.com/apache/netbeans/issues/4563

   ### Apache NetBeans version
   
   Apache NetBeans 14
   
   ### What happened
   
   [The script “Apache-NetBeans-14-bin-linux-x64.sh”](https://netbeans.apache.org/download/nb14/nb14.html "Downloading Apache NetBeans 14") was successfully executed also on my development system.
   I opened a test project a moment later.
   
   I wondered then about the error message “package … does not exist”.
   
   ![questionable_message-NetBeans-excerpt-20220829](https://user-images.githubusercontent.com/102525885/187194233-cda867e4-da08-4ce0-bb39-cdf1826bb078.png)
   
   
   ### How to reproduce
   
   Please take another look at import specifications (also in known Java example source files).
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Linux 5.19.2-1.2 x86_64 - openSUSE Tumbleweed
   
   ### JDK
   
   OpenJDK 18.0.2.0 x86_64 - openSUSE Tumbleweed
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   The software “Eclipse IDE for Java Developers 2022-06 (4.24.0)” found the mentioned import statement usable.
   
   -----
   
   Another example for a previous clarification attempt:
   2016-08-11: ["Package does not exist" but it does](https://bz.apache.org/netbeans/show_bug.cgi?id=267538 "Clarification approach")
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] Markus-Elfring commented on issue #4563: Message “package … does not exist” despite of a corresponding Java source file

Posted by GitBox <gi...@apache.org>.
Markus-Elfring commented on issue #4563:
URL: https://github.com/apache/netbeans/issues/4563#issuecomment-1230386092

   >I hadn't noticed initially, but it looks like the `pom.xml` file is incorrectly under `src` too.
   
   The file “pom.xml” is stored in the root directory for my test project example.
   :thought_balloon: Do you expect a clearer graphical representation by the NetBeans IDE accordingly?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #4563: Message “package … does not exist” despite of a corresponding Java source file

Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #4563:
URL: https://github.com/apache/netbeans/issues/4563#issuecomment-1231369735

   Moving this into discussions as suggested.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] Chris2011 commented on issue #4563: Message “package … does not exist” despite of a corresponding Java source file

Posted by GitBox <gi...@apache.org>.
Chris2011 commented on issue #4563:
URL: https://github.com/apache/netbeans/issues/4563#issuecomment-1230230874

   > That's not a valid project. The packages should be under `src/main/java`.
   
   Does this really matters and does this make really a difference?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] Markus-Elfring commented on issue #4563: Message “package … does not exist” despite of a corresponding Java source file

Posted by GitBox <gi...@apache.org>.
Markus-Elfring commented on issue #4563:
URL: https://github.com/apache/netbeans/issues/4563#issuecomment-1230286581

   >The packages should be under `src/main/java`.
   
   :thought_balloon: I suggest to reconsider such information a bit more also according to a required statement like “`package picocli;`” (for my test example).
   Do development environments present differences in the desired storage locations?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net closed issue #4563: Message “package … does not exist” despite of a corresponding Java source file

Posted by GitBox <gi...@apache.org>.
neilcsmith-net closed issue #4563: Message “package … does not exist” despite of a corresponding Java source file
URL: https://github.com/apache/netbeans/issues/4563


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #4563: Message “package … does not exist” despite of a corresponding Java source file

Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #4563:
URL: https://github.com/apache/netbeans/issues/4563#issuecomment-1230224027

   That's not a valid project. The packages should be under `src/main/java`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net closed issue #4563: Message “package … does not exist” despite of a corresponding Java source file

Posted by GitBox <gi...@apache.org>.
neilcsmith-net closed issue #4563: Message “package … does not exist” despite of a corresponding Java source file
URL: https://github.com/apache/netbeans/issues/4563


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] neilcsmith-net commented on issue #4563: Message “package … does not exist” despite of a corresponding Java source file

Posted by GitBox <gi...@apache.org>.
neilcsmith-net commented on issue #4563:
URL: https://github.com/apache/netbeans/issues/4563#issuecomment-1230370286

   > Does this really matters and does this really make a difference?
   
   Yes. @Chris2011 if it's not a valid project how do you expect NetBeans to work out where the root of Java packages is?
   
   > Do development environments present differences in the desired storage locations?
   
   Well, build systems do, and unless the build system (eg. Maven) is configured correctly, then it's neither going to build or allow NetBeans to find the required information.  I hadn't noticed initially, but it looks like the `pom.xml` file is incorrectly under `src` too.  This might accidentally work in Eclipse because of the `.classpath` file, but it's not going to work elsewhere.
   
   For help with Maven inside (or outside) NetBeans, I suggest you ask on the users@ mailing list or in the GitHub discussions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] Markus-Elfring commented on issue #4563: Message “package … does not exist” despite of a corresponding Java source file

Posted by GitBox <gi...@apache.org>.
Markus-Elfring commented on issue #4563:
URL: https://github.com/apache/netbeans/issues/4563#issuecomment-1230401803

   >… where the root of Java packages is?
   
   Does the shown screenshot excerpt indicate relevant information? :thinking:


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists