The return new ModelAndView("login", data); can'not to View path

87 views
Skip to first unread message

cq12...@gmail.com

unread,
Oct 30, 2016, 2:51:24 AM10/30/16
to SiteWhere
My code is down from github
When I input http://localhost:8080/sitewhere/admin/ in address bar
shows:

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Sun Oct 30 14:37:19 CST 2016
There was an unexpected error (type=Not Found, status=404).
/sitewhere/WEB-INF/jsp/login.jsp
I'am know there is something wrong in SpringBoot Configuration.But I cant't find id;
Thanks


Derek Adams

unread,
Oct 30, 2016, 8:24:26 AM10/30/16
to SiteWhere
Are you pulling from the sitewhere-1.9.0 branch? If so, we are migrating from JSP to Apache Velocity as the Spring MVC view technology (for performance reasons), so you may have found a bug in the new code. There are also some other major changes going on in the 1.9.0 branch, so we do not advise working with it until it is released and pushed to master.

Regards,
Derek

cq12...@gmail.com

unread,
Oct 31, 2016, 8:37:15 AM10/31/16
to SiteWhere
The build.gradle shows  my sitewhere  version is 1.8.0 .
I just set the vm option -Dsitewhere.home= {mysitewherepath}
I do not know if this set up right




















 and shows 


Derek Adams

unread,
Oct 31, 2016, 12:12:35 PM10/31/16
to SiteWhere
Others have had problems running SiteWhere inside an IDE as well. Currently, this is not a supported configuration, but we will try to take a look at the issues in a future release. There are other posts in the group that have workarounds for getting around some IDE errors, but there is no official guide yet. For now, we only support running the system directly from the command line using the scripts that are included in the bin folder.

Regards,
Derek

cq12...@gmail.com

unread,
Oct 31, 2016, 8:50:02 PM10/31/16
to SiteWhere
Start whith the script is ok。
Thanks Derek. 

Reply all
Reply to author
Forward
0 new messages