Taglibs in library jars not resolving
I jumped from 8.1.4 to 10.0.2 and found that 10.0.2 is not resolving taglibs in my project library's jars. I thought perhaps it had something to do with the conversion and created new (Intellij) project files to no avail. The library these jars are a part of is included in my modules artifact. Has anyone else encountered this and resolved it?
Please sign in to leave a comment.
Do you have a dependency on the library in your module? BTW what view
technology do you use (e.g. JSP or Facelets) Screenshot would be nice, too.
I've downloaded 103.161 and while they resolve, IDEA is unaware of the available API methods, i.e. suggestions.
I do. We're using JSPs and I'd love to provide screenshots but unfortunately this is a work project and not something I'm allowed to do without blurring a number of things out. But I can probably give you a better description of what I have going on here.
My project depends on a project we'll call blah
blah.jar
- META-INF
|- blah-catalog.tld
|- blah-user.tld
|- etc...
blah.jar is included in the library for my project and that library is included as a dependency as well. It's scope is "Compile". My artifact is an exploded war and includes the library as well.
Something worth noting is that once I was able to resolve (but not get suggestions) in the latest build I went back to 10.0.2 but could not resolve there. When I re-opened the project in the latest build I was no longer able to resolve anymore. And it's just these taglibs from my jars, the ones in the project resolve and autosuggest just fine.A few minutes later now and they're resolving but still no auto-suggest.Do you see any exceptions? Also, try File -> Invalidate caches.
No exceptions and still no suggestions after invalidating my cache and restarting.
Attachment(s):
no_suggestions.png
"Better to see it once..." :) So, you have no suggestions for your
variables? Do you use them in scriptlets? How do you declare them (e.g.
using <jsp:useBean/>)? Are these declarations located in the same file as
usage?
"David Klawitter" <no_reply@jetbrains.com> сообщил(а) в новостях
следующее:3049834.8911299687738129.JavaMail.devnet@domU-12-31-39-18-36-57.compute-1.internal...
>
I am using them in scriptlets and defining them in the same file through tag libraries. Let me lay out a simple example. In it, the html tag library is defined within my current module. The blah tld however is located in a jar (as described in our earlier conversations). This same example would resolve and suggest fine in 8.1.4.
<%@ taglib uri="/WEB-INF/xyz-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/blah-user.tld" prefix="user" %>
<user:user id="user"/>
<html:div>
<% Object obj = user.getSomething(); %>
</html:div>
I see. Completion seems to be broken here. Could you submit it as an
YouTrack issue?
"David Klawitter" <no_reply@jetbrains.com> сообщил(а) в новостях
следующее:27509889.16271299766543199.JavaMail.devnet@domU-12-31-39-18-36-57.compute-1.internal...
>
>
>
>
>
>