Error AngularJS + spring, dont compile -
when access index.html error page
index.html
<html ng-app> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script> </head> <body> <div> <label>name:</label> <input type="text" ng-model="yourname" placeholder="enter name here"> <hr> <h1>hello {{yourname}}!</h1> </div> </body> </html>
i'm trying make angularjs compile in spring project
console error:
2017-08-18 12:16:00.356 error 90004 --- [io-8084-exec-10] o.thymeleaf.templateparser.errorhandler : [thymeleaf][http-nio-8084-exec-10] fatal error during parsing org.xml.sax.saxparseexception: o nome atributo "ng-app" associado um tipo de elemento "html" deve ser seguido caractere ' = '. @ com.sun.org.apache.xerces.internal.util.errorhandlerwrapper.createsaxparseexception(unknown source) [na:1.8.0_131] @ com.sun.org.apache.xerces.internal.util.errorhandlerwrapper.fatalerror(unknown source) [na:1.8.0_131] @ com.sun.org.apache.xerces.internal.impl.xmlerrorreporter.reporterror(unknown source) [na:1.8.0_131] @ com.sun.org.apache.xerces.internal.impl.xmlerrorreporter.reporterror(unknown source) [na:1.8.0_131] @ com.sun.org.apache.xerces.internal.impl.xmlscanner.reportfatalerror(unknown source) [na:1.8.0_131] @ com.sun.org.apache.xerces.internal.impl.xmldocumentfragmentscannerimpl.scanattribute(unknown source) [na:1.8.0_131] @ com.sun.org.apache.xerces.internal.impl.xmldocumentfragmentscannerimpl.scanstartelement(unknown source) [na:1.8.0_131] @ com.sun.org.apache.xerces.internal.impl.xmldocumentfragmentscannerimpl$fragmentcontentdriver.next(unknown source) [na:1.8.0_131] @ com.sun.org.apache.xerces.internal.impl.xmldocumentscannerimpl.next(unknown source) [na:1.8.0_131] @ com.sun.org.apache.xerces.internal.impl.xmldocumentfragmentscannerimpl.scandocument(unknown source) [na:1.8.0_131] @ com.sun.org.apache.xerces.internal.parsers.xml11configuration.parse(unknown source) [na:1.8.0_131] @ com.sun.org.apache.xerces.internal.parsers.xml11configuration.parse(unknown source) [na:1.8.0_131] @ com.sun.org.apache.xerces.internal.parsers.xmlparser.parse(unknown source) [na:1.8.0_131] @ com.sun.org.apache.xerces.internal.parsers.abstractsaxparser.parse(unknown source) [na:1.8.0_131] @ com.sun.org.apache.xerces.internal.jaxp.saxparserimpl$jaxpsaxparser.parse(unknown source) [na:1.8.0_131] @ com.sun.org.apache.xerces.internal.jaxp.saxparserimpl.parse(unknown source) [na:1.8.0_131] @ org.thymeleaf.templateparser.xmlsax.abstractnonvalidatingsaxtemplateparser.doparse(abstractnonvalidatingsaxtemplateparser.java:209) [thymeleaf-2.1.5.release.jar:2.1.5.release] @ org.thymeleaf.templateparser.xmlsax.abstractnonvalidatingsaxtemplateparser.parsetemplateusingpool(abstractnonvalidatingsaxtemplateparser.java:134) [thymeleaf-2.1.5.release.jar:2.1.5.release] @ org.thymeleaf.templateparser.xmlsax.abstractnonvalidatingsaxtemplateparser.parsetemplate(abstractnonvalidatingsaxtemplateparser.java:116) [thymeleaf-2.1.5.release.jar:2.1.5.release] @ org.thymeleaf.templaterepository.gettemplate(templaterepository.java:278) [thymeleaf-2.1.5.release.jar:2.1.5.release] @ org.thymeleaf.templateengine.process(templateengine.java:1104) [thymeleaf-2.1.5.release.jar:2.1.5.release] @ org.thymeleaf.templateengine.process(templateengine.java:1060) [thymeleaf-2.1.5.release.jar:2.1.5.release] @ org.thymeleaf.templateengine.process(templateengine.java:1011) [thymeleaf-2.1.5.release.jar:2.1.5.release] @ org.thymeleaf.spring4.view.thymeleafview.renderfragment(thymeleafview.java:335) [thymeleaf-spring4-2.1.5.release.jar:2.1.5.release] @ org.thymeleaf.spring4.view.thymeleafview.render(thymeleafview.java:190) [thymeleaf-spring4-2.1.5.release.jar:2.1.5.release] @ org.springframework.web.servlet.dispatcherservlet.render(dispatcherservlet.java:1271) [spring-webmvc-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.servlet.dispatcherservlet.processdispatchresult(dispatcherservlet.java:1037) [spring-webmvc-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.servlet.dispatcherservlet.dodispatch(dispatcherservlet.java:980) [spring-webmvc-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.servlet.dispatcherservlet.doservice(dispatcherservlet.java:897) [spring-webmvc-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.servlet.frameworkservlet.processrequest(frameworkservlet.java:970) [spring-webmvc-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.servlet.frameworkservlet.doget(frameworkservlet.java:861) [spring-webmvc-4.3.6.release.jar:4.3.6.release] @ javax.servlet.http.httpservlet.service(httpservlet.java:622) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.springframework.web.servlet.frameworkservlet.service(frameworkservlet.java:846) [spring-webmvc-4.3.6.release.jar:4.3.6.release] @ javax.servlet.http.httpservlet.service(httpservlet.java:729) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:230) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.tomcat.websocket.server.wsfilter.dofilter(wsfilter.java:52) [tomcat-embed-websocket-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.springframework.security.web.filterchainproxy.dofilterinternal(filterchainproxy.java:208) [spring-security-web-4.2.1.release.jar:4.2.1.release] @ org.springframework.security.web.filterchainproxy.dofilter(filterchainproxy.java:177) [spring-security-web-4.2.1.release.jar:4.2.1.release] @ org.springframework.web.filter.delegatingfilterproxy.invokedelegate(delegatingfilterproxy.java:346) [spring-web-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.filter.delegatingfilterproxy.dofilter(delegatingfilterproxy.java:262) [spring-web-4.3.6.release.jar:4.3.6.release] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.springframework.web.filter.requestcontextfilter.dofilterinternal(requestcontextfilter.java:99) [spring-web-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:107) [spring-web-4.3.6.release.jar:4.3.6.release] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.springframework.web.filter.httpputformcontentfilter.dofilterinternal(httpputformcontentfilter.java:105) [spring-web-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:107) [spring-web-4.3.6.release.jar:4.3.6.release] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.springframework.web.filter.hiddenhttpmethodfilter.dofilterinternal(hiddenhttpmethodfilter.java:81) [spring-web-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:107) [spring-web-4.3.6.release.jar:4.3.6.release] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.springframework.web.filter.characterencodingfilter.dofilterinternal(characterencodingfilter.java:197) [spring-web-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:107) [spring-web-4.3.6.release.jar:4.3.6.release] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.springframework.boot.web.support.errorpagefilter.dofilter(errorpagefilter.java:115) [spring-boot-1.5.1.release.jar:1.5.1.release] @ org.springframework.boot.web.support.errorpagefilter.access$000(errorpagefilter.java:59) [spring-boot-1.5.1.release.jar:1.5.1.release] @ org.springframework.boot.web.support.errorpagefilter$1.dofilterinternal(errorpagefilter.java:90) [spring-boot-1.5.1.release.jar:1.5.1.release] @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:107) [spring-web-4.3.6.release.jar:4.3.6.release] @ org.springframework.boot.web.support.errorpagefilter.dofilter(errorpagefilter.java:108) [spring-boot-1.5.1.release.jar:1.5.1.release] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:198) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:96) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:474) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:140) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:79) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:87) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:349) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.coyote.http11.http11processor.service(http11processor.java:783) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.coyote.abstractprocessorlight.process(abstractprocessorlight.java:66) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.coyote.abstractprotocol$connectionhandler.process(abstractprotocol.java:798) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.tomcat.util.net.nioendpoint$socketprocessor.dorun(nioendpoint.java:1434) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.tomcat.util.net.socketprocessorbase.run(socketprocessorbase.java:49) [tomcat-embed-core-8.5.11.jar:8.5.11] @ java.util.concurrent.threadpoolexecutor.runworker(unknown source) [na:1.8.0_131] @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source) [na:1.8.0_131] @ org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run(taskthread.java:61) [tomcat-embed-core-8.5.11.jar:8.5.11] @ java.lang.thread.run(unknown source) [na:1.8.0_131] 2017-08-18 12:16:00.356 error 90004 --- [io-8084-exec-10] org.thymeleaf.templateengine : [thymeleaf][http-nio-8084-exec-10] exception processing template "index": exception parsing document: template="index", line 1 - column 29 2017-08-18 12:16:00.357 error 90004 --- [io-8084-exec-10] o.s.boot.web.support.errorpagefilter : forwarding error page request [/] due exception [exception parsing document: template="index", line 1 - column 29] org.thymeleaf.exceptions.templateinputexception: exception parsing document: template="index", line 1 - column 29 @ org.thymeleaf.templateparser.xmlsax.abstractnonvalidatingsaxtemplateparser.parsetemplateusingpool(abstractnonvalidatingsaxtemplateparser.java:166) ~[thymeleaf-2.1.5.release.jar:2.1.5.release] @ org.thymeleaf.templateparser.xmlsax.abstractnonvalidatingsaxtemplateparser.parsetemplate(abstractnonvalidatingsaxtemplateparser.java:116) ~[thymeleaf-2.1.5.release.jar:2.1.5.release] @ org.thymeleaf.templaterepository.gettemplate(templaterepository.java:278) ~[thymeleaf-2.1.5.release.jar:2.1.5.release] @ org.thymeleaf.templateengine.process(templateengine.java:1104) ~[thymeleaf-2.1.5.release.jar:2.1.5.release] @ org.thymeleaf.templateengine.process(templateengine.java:1060) ~[thymeleaf-2.1.5.release.jar:2.1.5.release] @ org.thymeleaf.templateengine.process(templateengine.java:1011) ~[thymeleaf-2.1.5.release.jar:2.1.5.release] @ org.thymeleaf.spring4.view.thymeleafview.renderfragment(thymeleafview.java:335) ~[thymeleaf-spring4-2.1.5.release.jar:2.1.5.release] @ org.thymeleaf.spring4.view.thymeleafview.render(thymeleafview.java:190) ~[thymeleaf-spring4-2.1.5.release.jar:2.1.5.release] @ org.springframework.web.servlet.dispatcherservlet.render(dispatcherservlet.java:1271) ~[spring-webmvc-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.servlet.dispatcherservlet.processdispatchresult(dispatcherservlet.java:1037) ~[spring-webmvc-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.servlet.dispatcherservlet.dodispatch(dispatcherservlet.java:980) ~[spring-webmvc-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.servlet.dispatcherservlet.doservice(dispatcherservlet.java:897) ~[spring-webmvc-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.servlet.frameworkservlet.processrequest(frameworkservlet.java:970) ~[spring-webmvc-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.servlet.frameworkservlet.doget(frameworkservlet.java:861) ~[spring-webmvc-4.3.6.release.jar:4.3.6.release] @ javax.servlet.http.httpservlet.service(httpservlet.java:622) ~[tomcat-embed-core-8.5.11.jar:8.5.11] @ org.springframework.web.servlet.frameworkservlet.service(frameworkservlet.java:846) ~[spring-webmvc-4.3.6.release.jar:4.3.6.release] @ javax.servlet.http.httpservlet.service(httpservlet.java:729) ~[tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:230) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.tomcat.websocket.server.wsfilter.dofilter(wsfilter.java:52) ~[tomcat-embed-websocket-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.springframework.security.web.filterchainproxy.dofilterinternal(filterchainproxy.java:208) ~[spring-security-web-4.2.1.release.jar:4.2.1.release] @ org.springframework.security.web.filterchainproxy.dofilter(filterchainproxy.java:177) ~[spring-security-web-4.2.1.release.jar:4.2.1.release] @ org.springframework.web.filter.delegatingfilterproxy.invokedelegate(delegatingfilterproxy.java:346) ~[spring-web-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.filter.delegatingfilterproxy.dofilter(delegatingfilterproxy.java:262) ~[spring-web-4.3.6.release.jar:4.3.6.release] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.springframework.web.filter.requestcontextfilter.dofilterinternal(requestcontextfilter.java:99) ~[spring-web-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:107) [spring-web-4.3.6.release.jar:4.3.6.release] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.springframework.web.filter.httpputformcontentfilter.dofilterinternal(httpputformcontentfilter.java:105) ~[spring-web-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:107) [spring-web-4.3.6.release.jar:4.3.6.release] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.springframework.web.filter.hiddenhttpmethodfilter.dofilterinternal(hiddenhttpmethodfilter.java:81) ~[spring-web-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:107) [spring-web-4.3.6.release.jar:4.3.6.release] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.springframework.web.filter.characterencodingfilter.dofilterinternal(characterencodingfilter.java:197) ~[spring-web-4.3.6.release.jar:4.3.6.release] @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:107) [spring-web-4.3.6.release.jar:4.3.6.release] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.springframework.boot.web.support.errorpagefilter.dofilter(errorpagefilter.java:115) [spring-boot-1.5.1.release.jar:1.5.1.release] @ org.springframework.boot.web.support.errorpagefilter.access$000(errorpagefilter.java:59) [spring-boot-1.5.1.release.jar:1.5.1.release] @ org.springframework.boot.web.support.errorpagefilter$1.dofilterinternal(errorpagefilter.java:90) [spring-boot-1.5.1.release.jar:1.5.1.release] @ org.springframework.web.filter.onceperrequestfilter.dofilter(onceperrequestfilter.java:107) [spring-web-4.3.6.release.jar:4.3.6.release] @ org.springframework.boot.web.support.errorpagefilter.dofilter(errorpagefilter.java:108) [spring-boot-1.5.1.release.jar:1.5.1.release] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:192) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:165) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:198) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:96) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.authenticator.authenticatorbase.invoke(authenticatorbase.java:474) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:140) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:79) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:87) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:349) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.coyote.http11.http11processor.service(http11processor.java:783) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.coyote.abstractprocessorlight.process(abstractprocessorlight.java:66) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.coyote.abstractprotocol$connectionhandler.process(abstractprotocol.java:798) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.tomcat.util.net.nioendpoint$socketprocessor.dorun(nioendpoint.java:1434) [tomcat-embed-core-8.5.11.jar:8.5.11] @ org.apache.tomcat.util.net.socketprocessorbase.run(socketprocessorbase.java:49) [tomcat-embed-core-8.5.11.jar:8.5.11] @ java.util.concurrent.threadpoolexecutor.runworker(unknown source) [na:1.8.0_131] @ java.util.concurrent.threadpoolexecutor$worker.run(unknown source) [na:1.8.0_131] @ org.apache.tomcat.util.threads.taskthread$wrappingrunnable.run(taskthread.java:61) [tomcat-embed-core-8.5.11.jar:8.5.11] @ java.lang.thread.run(unknown source) [na:1.8.0_131] caused by: org.xml.sax.saxparseexception: o nome atributo "ng-app" associado um tipo de elemento "html" deve ser seguido caractere ' = '. @ com.sun.org.apache.xerces.internal.util.errorhandlerwrapper.createsaxparseexception(unknown source) ~[na:1.8.0_131] @ com.sun.org.apache.xerces.internal.util.errorhandlerwrapper.fatalerror(unknown source) ~[na:1.8.0_131] @ com.sun.org.apache.xerces.internal.impl.xmlerrorreporter.reporterror(unknown source) ~[na:1.8.0_131] @ com.sun.org.apache.xerces.internal.impl.xmlerrorreporter.reporterror(unknown source) ~[na:1.8.0_131] @ com.sun.org.apache.xerces.internal.impl.xmlscanner.reportfatalerror(unknown source) ~[na:1.8.0_131] @ com.sun.org.apache.xerces.internal.impl.xmldocumentfragmentscannerimpl.scanattribute(unknown source) ~[na:1.8.0_131] @ com.sun.org.apache.xerces.internal.impl.xmldocumentfragmentscannerimpl.scanstartelement(unknown source) ~[na:1.8.0_131] @ com.sun.org.apache.xerces.internal.impl.xmldocumentfragmentscannerimpl$fragmentcontentdriver.next(unknown source) ~[na:1.8.0_131] @ com.sun.org.apache.xerces.internal.impl.xmldocumentscannerimpl.next(unknown source) ~[na:1.8.0_131] @ com.sun.org.apache.xerces.internal.impl.xmldocumentfragmentscannerimpl.scandocument(unknown source) ~[na:1.8.0_131] @ com.sun.org.apache.xerces.internal.parsers.xml11configuration.parse(unknown source) ~[na:1.8.0_131] @ com.sun.org.apache.xerces.internal.parsers.xml11configuration.parse(unknown source) ~[na:1.8.0_131] @ com.sun.org.apache.xerces.internal.parsers.xmlparser.parse(unknown source) ~[na:1.8.0_131] @ com.sun.org.apache.xerces.internal.parsers.abstractsaxparser.parse(unknown source) ~[na:1.8.0_131] @ com.sun.org.apache.xerces.internal.jaxp.saxparserimpl$jaxpsaxparser.parse(unknown source) ~[na:1.8.0_131] @ com.sun.org.apache.xerces.internal.jaxp.saxparserimpl.parse(unknown source) ~[na:1.8.0_131] @ org.thymeleaf.templateparser.xmlsax.abstractnonvalidatingsaxtemplateparser.doparse(abstractnonvalidatingsaxtemplateparser.java:209) ~[thymeleaf-2.1.5.release.jar:2.1.5.release] @ org.thymeleaf.templateparser.xmlsax.abstractnonvalidatingsaxtemplateparser.parsetemplateusingpool(abstractnonvalidatingsaxtemplateparser.java:134) ~[thymeleaf-2.1.5.release.jar:2.1.5.release] ... 66 common frames omitted
you should check console (in developer tools - in chrome click f12) see if there errors, if else right, need specify app name , controller name this:
html:
<html ng-app="appname"> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script> </head> <body> <div ng-controller="ctrlname"> <label>name:</label> <input type="text" ng-model="yourname" placeholder="enter name here"> <hr> <h1>hello {{yourname}}!</h1> </div> </body> </html>
Comments
Post a Comment