-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[jsf-cdi]WELD-001408: Unsatisfied dependencies for type Map<String, Object> with qualifiers @RequestCookieMap #1
Comments
When I wrote these codes, I was using Glassfish 5 full profile and Payara for test purpose. Glassfish was buggy, and I suggest using Payara which included more Glassfish issue fixes in time, or wait for the upcoming Glassfish 5.1. I will refresh the codes when Glassfish 5.1 is GA. |
Thank you very much for the reply! I was trying to use gradle for the build/test thing (better for buidling CI/CD pipelines later). In the JEE 8 world it's yet difficult to find definitive one-stop guide for even trivial JEE projects. For example, a hello-world JSF application example, or a hello-world REST service example. All the guides I found either start with some specific IDE or end up dealing with server/library specific configs. Yesterday I spent half day getting an JSF 2.3 toy app running on a local OpenLiberty 18.0.0.3, but the Liberty gradle plugin did not really work well (I filed an issue in their official github repo). It's been very, very frustrating. I found the Spring Boot docs extremely good in this respect. They have quality gradle plugins, I even do not need to know what server is running under the hood ( Tomcat, or Payara, or Glassfish, or Liberty, or Jetty, whatever that is, actually I don't care at all, as long as that server runs my code ). I followed a very short official Spring Boot guide, and got the latest container features setup and run within half hour. No puzzle to solve in the gradle build file and no server mentioned in build file, it simply builds and tests. Sorry for my nagging! If one day I figure out how to streamline the build/test thing with gradle for JEE, I'd like to write short and concise guides. I found your code showcasing JEE 8 features very helpful! Thank you very much! Regards, |
@nnworkspace I also wrote some notes about these Java EE 8 sample codes, check gitbook online version, or read it on Github. |
Hi Hantsy, thank you very much for your tutorial, I find it very well written, much appreciated! Meanwhile I got the first parts of my one-case-showing-all-features application up and running, your articles are linked in the "special thanks" section in the readme file: https://github.com/nnworkspace/crossword-gen-jsf This project is on its very early stage, I'm adding code to it everyday. |
Hi Hantsy,
I cloned your repository and tried to run your jsf-cdi code as-is in a freshly downloaded Glassfish 5.0 (web profile). But got this error:
CDI deployment failure:WELD-001408: Unsatisfied dependencies for type Map<String, Object> with qualifiers @RequestCookieMap
That's from the class com.hantsylabs.example.ee8.jsf.BackingBean, line 36.
What am I doing wrong??
Regards,
NN
The text was updated successfully, but these errors were encountered: