Run against the mcpserverinstalls collection in the natoma database:
```json [ { "$lookup": {
| An annotation processor threw an uncaught exception. | |
| Consult the following stack trace for details. | |
| java.lang.IllegalArgumentException: The argument does not represent an annotation type: Transactional | |
| at com.sun.tools.javac.processing.JavacRoundEnvironment.getElementsAnnotatedWith(JavacRoundEnvironment.java:119) | |
| at org.hibernate.validator.ap.ConstraintValidationProcessor.process(ConstraintValidationProcessor.java:117) | |
| at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:793) | |
| at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:722) | |
| at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1700(JavacProcessingEnvironment.java:97) | |
| at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1029) | |
| at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1163) |
| [DEBUG] getFilesetArchetypeResources( "/home/rbradley/.m2/repository/org/jboss/spring/archetypes/spring-mvc-webapp/1.0.0-SNAPSHOT/spring-mvc-webapp-1.0.0-SNAPSHOT.jar" ) | |
| [DEBUG] - found resource (archetype-resources/)pom.xml | |
| [DEBUG] - found resource (archetype-resources/)readme.md | |
| [DEBUG] - found resource (archetype-resources/)src/test/java/test/MemberDaoTest.java | |
| [DEBUG] - found resource (archetype-resources/)src/test/resources/META-INF/test-persistence.xml | |
| [DEBUG] - found resource (archetype-resources/)src/test/resources/import.sql | |
| [DEBUG] - found resource (archetype-resources/)src/test/resources/test-context.xml | |
| [DEBUG] - found resource (archetype-resources/)src/main/webapp/WEB-INF/web.xml | |
| [DEBUG] - found resource (archetype-resources/)src/main/webapp/WEB-INF/jboss-as-kitchensink-mvc-context.xml | |
| [DEBUG] - found resource (archetype-resources/)src/main/webapp/WEB-INF/views/index.jsp |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <persistence version="2.0" | |
| xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation=" | |
| http://java.sun.com/xml/ns/persistence | |
| http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> | |
| <persistence-unit name="primary"> | |
| <!-- If you are running in a production environment, add a managed | |
| data source, this example data source is just for development and testing! --> | |
| <!-- The datasource is deployed as WEB-INF/kitchensink-quickstart-ds.xml, you |
| <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
| <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> | |
| <div class="section"> | |
| <div class="header"> | |
| <h1>Welcome to Forge</h3> | |
| </div> | |
| <div class="subheader"> |
| <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
| <%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %> | |
| <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> | |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
| <head> | |
| <title><tiles:insertAttribute name="title"/></title> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
| <div class="section"> | |
| <form:form commandName="search" method="GET"> | |
| <table> | |
| <tbody> | |
| <tr> | |
| <th/> | |
| <td> | |
| <form:hidden path="id"/> | |
| </td> | |
| <td/> |
| @Controller | |
| @RequestMapping("/customers") | |
| public class CustomerController | |
| { | |
| // Inject the appropriate data-access object for the given entity. | |
| @Autowired | |
| private CustomerDao customerDao; |
| <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
| <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> | |
| <html> | |
| <head> | |
| <title>View All @{entityPluralCap}</title> | |
| </head> | |
| <body> |
| protected Project setupScaffoldProject() throws Exception | |
| { | |
| Project project = initializeJavaProject(); | |
| getShell().execute("spring setup"); | |
| queueInputLines("HIBERNATE", "JBOSS_AS7"); | |
| getShell().execute("persistence setup"); | |
| queueInputLines("spring", "", "2", "", ""); | |
| getShell().execute("scaffold setup"); | |
| return project; | |
| } |