The last step is to import the Solr example web app into Eclipse. Copy Solr Files into your Eclipse Project WildFly should start now without any errors and all Solr dependencies available. During this process you have to “maven-update” the project (select the project and press “ALT+F5”) a couple of times. The next step is to customize the pom.xml. Then create a new “File > new > Maven Project”, skip archetype selection and give it let’s say “illucit-solr” as Artifact Id and “com.illucit” as Group Id. You find these options by double clicking your server in the “Servers” view. Deploying your web app to the workspace metadata instead of the JBoss deploy folder may also be advisable. However if you’re running multiple web projects on the same instance of WildFly you may consider creating an own Server Runtime Environment with a custom WildFly configuration file. If JBoss Tools are installed, you can choose WildFly 8.x and create it without further changes. Open Eclipse and add a new server (“File > new > Server”). Setup a WildFly Project in Eclipse with Maven The tutorial should however apply to other major versions, too. The specified version numbers are the versions I’m using. WildFly Application Server (wildfly-8.1.0.Final).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |