![]() Please contact the sender and delete the material from any computer. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by entities other than the intended recipient is prohibited. In any way to waive privilege or confidentiality. Delivery of this message to any person other than the intended recipient(s) is not intended The information transmitted is intended only for the person(s)or entity to which it is addressed and may contain confidential and/or legally privileged material. My war’s pom lists the jar project dependency as such:ĭo I have something wrong with the configuration? Is this a bug? The jar project is listed in my war’s .component: Sure enough, the app initialized just fine without any ClassNotFoundException’sĬomplaining about any classes from the jar project. jar project artifact into the tmp folder and restarted WAS. war artifact upon inspection of my local repo.Īs an experiment, I copied the missing. À Maven install” or build the project using Maven itself, the jar project’s artifact. My jar project’s artifact should be in here. If I navigate down to the war project’s WEB-INF/lib folder, I find all the 3 rd-party jar dependencies listed except for My war project is listed in this tmp folder. I located the tmp folder where the published application resides:Ĭ:\workspaceM2E\.metadata\.plugins\.core\tmp1\ That the a class listed in the jar project could not be found. jar’s on the classpath are loaded as indicated by the console. During application bootstrap/initialization, all 3 rd-party. Part is when I publish the ear project to my WAS 6.1 test server within the IDE. It shows up under “Resolved Dependencies” within the “Dependency Hierarchy” tab. The jar project is listed as a dependency in my war’s pom. I have 4 projects that comprise a multi-module project: a parent pom, an ear, a war, and a jar. Is still a vanilla Eclipse project at the moment.Ģ24.948.4739 have a bizarre situation that I can’t wrap my head around. Basically, the jar project handles all the common Hibernate mappings. This jar is simply a “utility” jar project that’s meant to be shared by two separate war projects, each residing their own separate, respective. My jar project is listed as having a packaging of “jar”. I’m not implementing a war overlay though. I just iterated through this entire 11-step process twice, each iteration yielding the same results. jar project (no Hibernate mappings populating jarġ1.) The app bootstrapped/initialized with the 1 error complaining about the war project not being able to find a class in the. ear project on the “Add and Remove…”, the. jar project in the workspaceġ0.) I repeated steps 6-7 (Interestingly enough, when expanding the “ ’s” for my. jar project (Hibernate initialized and I couldĩ.) I repeated steps 1-5, except this time I closed the. war)Ĩ.) The app bootstrapped/initialized without any errors complaining about the war project not being able to find a class in the. (Interestingly enough, when expanding the “ ’s” for my. jar project was open in the workspaceĦ.) Started WAS 6.1, right-clicked the server and clicked on “Add and Remove…”ħ.) Added the.ear project from the workspace to WAS 6.1, which caused an automatic Publish. ![]() war project.ĥ.) Opened RAD again and executed a Clean on the 4 maven projects, except the. war project and also my jar artifact contained within itĤ.) I deleted said folder representing my. In preparation for this reply, here are the steps that I just took to reproduce this problem:ģ.) Since I had my jar artifact still in the tmp1 folder (C:\workspaceM2E\.metadata\.plugins\.core\tmp1), I closed RAD 8.0.4.1 so I could delete the folder In answer to your question: Yes, I did clean the server instance. Ah ha! I think I’ve identified this bug…or a derivate/cousin of it:
0 Comments
Leave a Reply. |