You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by "Brian Allison (ISSRS)" <is...@gmail.com> on 2025/01/09 20:05:31 UTC
Multiple imports having problems
package org.springframework.stereotype is not visible
(package org.springframework.stereotype is declared in the unnamed module, but module com.hopetree.htbilling does not read it)
package org.springframework.web.bind.annotation is not visible
(package org.springframework.web.bind.annotation is declared in the unnamed module, but module com.hopetree.htbilling does not read it)
——
package jakarta.servlet is not visible
(package jakarta.servlet is declared in the unnamed module, but module com.hopetree.htbilling does not read it)
——
package jakarta.servlet.annotation is not visible
(package jakarta.servlet.annotation is declared in the unnamed module, but module com.hopetree.htbilling does not read it)
——
….. and so on
Problems related to Jakarta and springframework
I have attached my POM file.
Re: Multiple imports having problems
Posted by Maciej Jaros <ma...@mol.com.pl.INVALID>.
That does not seem like a Netbeans problem... But I think you should
probably be using JDK 21 (not 23) - probably less problems with compat.
with various libraries. Spring6 should work with Jakarta in theory as
long as you use it on Tomcat10+. You should probably look for answers on
Spring forums/lists/stack.
Cheers,
Nux
Brian Allison (ISSRS) (2025-01-09 21:05):
> package org.springframework.stereotype is not visible
> (package org.springframework.stereotype is declared in the unnamed module, but module com.hopetree.htbilling does not read it)
>
> package org.springframework.web.bind.annotation is not visible
> (package org.springframework.web.bind.annotation is declared in the unnamed module, but module com.hopetree.htbilling does not read it)
> ——
>
> package jakarta.servlet is not visible
> (package jakarta.servlet is declared in the unnamed module, but module com.hopetree.htbilling does not read it)
> ——
>
> package jakarta.servlet.annotation is not visible
> (package jakarta.servlet.annotation is declared in the unnamed module, but module com.hopetree.htbilling does not read it)
> ——
>
> ….. and so on
>
> Problems related to Jakarta and springframework
>
> I have attached my POM file.
>
>
> Brian
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: users-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists