Re: Netbeans 11.1 does not recognize some facelets taglibs in jars using composite-library-name
Hello, just to add some more info. The tagib works on other known java IDEs such as Eclipse and IntelliJ. It is in fact three composite components, see the code here: https://github.com/adminfaces/admin-template/tree/master/src/main/resources/META-INF/resources/admin And here's the taglib xml: https://github.com/adminfaces/admin-template/blob/0287994aeaa859e23b0bd27585387a5c215ffe74/src/main/resources/META-INF/admin.taglib.xml On 2019/08/31 15:17:19, Frank MartÃnez wrote: > Hi Guys, > Thank you for all your excellent work. In netbeans 8.2 some taglibs are not > recognized (i supposed it was because of the lack of jee8 support), I was > expecting that 11.1 recognized the taglibs but it doesn't. > > The specific case is this for: > https://github.com/adminfaces/admin-template > I have been using this template for a long time now, and it is great. The > only annoying thing is that netbeans marks all .xhtml files using the > taglib as error, but it is a false positive. > > The unrecognized taglib is: xmlns:adm="http://github.com/adminfaces; which > is correctly packaged in the web-fragment jar. > > My webapp is a maven project created with netbeans 11.1. The app compiles > and deploys without problem. I just want two things: > > 1. Get rid of false positive errors. > 2. Propper code completion for the taglib > > I am not sure if this is a bug or a misconfiguration. > > Thanks in advance for any help. > > Cheers, > > Frank. > > -- > Frank D. MartÃnez M. > - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e-mail: users-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: how to add libraries to a project
Alternatively, right-click on "Dependencies", select "Add Dependency" and let NB do it for you. Indeed, editing the POM file is equally as easy with code completion but there's more than one way. :) On Thu, Sep 5, 2019 at 4:56 PM Geertjan Wielenga wrote: > Well, then add libraries as dependencies in your POM. > > Gj > > On Thu, 5 Sep 2019 at 22:40, joe schmo wrote: > >> My current project is Maven based and is not JaveEE. >> -- >> *From:* Geertjan Wielenga >> *Sent:* September 5, 2019 5:37 PM >> *To:* joe schmo >> *Cc:* users@netbeans.apache.org >> *Subject:* Re: how to add libraries to a project >> >> Your project is based on Maven? Gradle? Ant? It is a Java EE >> application? Or not? How can anyone possibly help you if you provide no >> details? >> >> Gj >> >> >> On Thu, 5 Sep 2019 at 22:24, joe schmo wrote: >> >> I'm using NetBeans 11.1 and I'm embarrassed to say I can't do something >> simple like add log4j libraries to my project. Can someone help? >> >> Thanks >> >> Joe >> >> -- Carl J. Mosca
Re: how to add libraries to a project
Well, then add libraries as dependencies in your POM. Gj On Thu, 5 Sep 2019 at 22:40, joe schmo wrote: > My current project is Maven based and is not JaveEE. > -- > *From:* Geertjan Wielenga > *Sent:* September 5, 2019 5:37 PM > *To:* joe schmo > *Cc:* users@netbeans.apache.org > *Subject:* Re: how to add libraries to a project > > Your project is based on Maven? Gradle? Ant? It is a Java EE application? > Or not? How can anyone possibly help you if you provide no details? > > Gj > > > On Thu, 5 Sep 2019 at 22:24, joe schmo wrote: > > I'm using NetBeans 11.1 and I'm embarrassed to say I can't do something > simple like add log4j libraries to my project. Can someone help? > > Thanks > > Joe > >
Re: how to add libraries to a project
Your project is based on Maven? Gradle? Ant? It is a Java EE application? Or not? How can anyone possibly help you if you provide no details? Gj On Thu, 5 Sep 2019 at 22:24, joe schmo wrote: > I'm using NetBeans 11.1 and I'm embarrassed to say I can't do something > simple like add log4j libraries to my project. Can someone help? > > Thanks > > Joe >
how to add libraries to a project
I'm using NetBeans 11.1 and I'm embarrassed to say I can't do something simple like add log4j libraries to my project. Can someone help? Thanks Joe