Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>OK - figured it out - enough to make it work....</p> <p>[Still bamboozled as to why GG didn't pick up those JARs all on its own.]</p> <p>To figure out which JAR files contained the classes that were reported missing during WAR deployment, I just did a hunt and peck in the dist folder containing grails JARs where Groovy/Grails v2.2.4 was installed (C:\grails-2.2.4\dist). I used 7zip to just browse the JARs. Since both classes had the word "test" in them, I looked first in JARS with "test" in the name and found them easily. That's how I figured out the two JAR files that I listed above in the question that contained those classes.</p> <p>Putting them in the WEB-INF/lib folder on the server and then having a successful start/deployment of the project confirmed that having them in the WAR would fix the issue.</p> <p>To get them into the Project and thus the WAR when it's created, I did this...</p> <pre><code>1) run “grails clean” on the project in question 2) close the project (and all others) 3) exit g&amp;g tool suite 4) drag the jar file to your “PROJECTNAME/lib” directory for your project using Windows Explorer. 5) start g&amp;g tool suite 6) open the project 7) right-click on the Project Name and choose Groovy Tools -&gt; Refresh Dependencies </code></pre> <p>Now, maybe you don't have to jump thru ALL those hoops to get Refresh Dependencies to work, but that's what I did. If I JUST do #7, without doing the other stuff first, it does not work on this version of GGTS. Now, the WAR generates and deploys correctly on the server.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload