hantsy / angularjs-springmvc-sample Goto Github PK
View Code? Open in Web Editor NEWA RESTful sample using AnguarJS/Bootstrap as frontend and Spring MVC as REST API producer
A RESTful sample using AnguarJS/Bootstrap as frontend and Spring MVC as REST API producer
Hi Hantsy,
I'm new to AngularJs and I'm trying your tutorial as my first example, I'm having compilation errors in main.html file its missing angular-bootstrap.js and angular-bootstrap.css files. Could you please add them.
Thanks
your student
Hi,
I am a beginner of JPA, after loading the project as maven in Eclipse. I got this error:
import com.hantsylabs.restexample.springmvc.domain.Post_;
I am not quite sure what's difference between Post and Post_. Do I miss some dependencies? Thanks.
is giving access denied when users accessed page in the menu administration, even when logged in as administrator
I set user name and password in configuration and in app.properties but it does not work please help
repository/PostSpecifications.java引用了Post_,
repository/UserSpecifications.java引用了User_
但是domain下并没有这两个文件。
是我找开的方式不对?
angularjs-springmvc-sample/src/main/java/com/hantsylabs/restexample/springmvc/repository/PostSpecifications.java 文件里用Post_的意图是什么?import com.hantsylabs.restexample.springmvc.domain.Post_;这个包里找不到。。。
INFO] Total time: 10.196 s
[INFO] Finished at: 2015-08-05T17:26:31+08:00
[INFO] Final Memory: 13M/102M
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'spring-boot' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/root/.m2/repository), io.spring.repo.maven.release (http://repo.spring.io/release/), io.spring.repo.maven.milestone (http://repo.spring.io/milestone/), central (https://repo.maven.apache.org/maven2)] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException
this file is not found in the project
css/angular-bootstrap.css
js/angular-bootstrap.js
I follow the README.md file and try to run the project, but when I execute mvn tomcat7:run I got following exceptions:
vincent@vincent-VirtualBox:~/angularspring/angularjs-springmvc-sample$ mvn tomcat7:run
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.hantsylabs.restexample.springmvc:angularjs-springmvc-sample:war:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 441, column 21
[WARNING] 'build.plugins.plugin.version' for org.codehaus.cargo:cargo-maven2-plugin is missing. @ line 631, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[WARNING] The POM for org.codehaus.mojo:aspectj-maven-plugin:jar:1.8 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] Failed to retrieve plugin descriptor for org.codehaus.mojo:aspectj-maven-plugin:1.8: Plugin org.codehaus.mojo:aspectj-maven-plugin:1.8 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:aspectj-maven-plugin:jar:1.8
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building angularjs-springmvc-sample 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.codehaus.mojo:aspectj-maven-plugin:jar:1.8 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[WARNING] Failed to retrieve plugin descriptor for org.codehaus.mojo:aspectj-maven-plugin:1.8: Plugin org.codehaus.mojo:aspectj-maven-plugin:1.8 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:aspectj-maven-plugin:jar:1.8
[WARNING] The POM for org.codehaus.mojo:aspectj-maven-plugin:jar:1.8 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.922 s
[INFO] Finished at: 2017-01-09T10:34:53-05:00
[INFO] Final Memory: 10M/60M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.codehaus.mojo:aspectj-maven-plugin:1.8 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.codehaus.mojo:aspectj-maven-plugin:jar:1.8: 1 problem was encountered while building the effective model for org.codehaus.mojo:aspectj-maven-plugin:1.8
[ERROR] [ERROR] 'dependencies.dependency.systemPath' for com.sun:tools:jar must specify an absolute path but is ${toolsjarSystemPath} @
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
How do I fix this issue?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.