Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

选用什么编译器呢? #2

Open
yangpengsheng opened this issue Oct 31, 2016 · 17 comments
Open

选用什么编译器呢? #2

yangpengsheng opened this issue Oct 31, 2016 · 17 comments

Comments

@yangpengsheng
Copy link

采用直接导入到eclipse,但是没有.project文件,请问您是用的什么编译器呢?

@tinybyhuang
Copy link
Owner

node1跟node2采用的是maven工程,eclipse是支持maven项目导入的,你创建一个工作空间后,file/import/maven/Existing Maven Projects,选择node1根目录下的pom.xml文件就可以导入了

@yangpengsheng
Copy link
Author

你好,我用idea导入的,maven的东西也配置好了,但是启动node1和node2的时候,会提示404

@yangpengsheng
Copy link
Author

启动cas输入了账号admin和密码admin@2015后会重置回登陆页面

@tinybyhuang
Copy link
Owner

cas重置回登录界面,你有跑sql数据库文件吗?

@yangpengsheng
Copy link
Author

mysql启动了,数据也是有的啊。。

@tinybyhuang
Copy link
Owner

能贴下图吗?

@yangpengsheng
Copy link
Author

@Coder-Huang
什么地方的图啊...

@tinybyhuang
Copy link
Owner

加我QQ947218223

@yangpengsheng
Copy link
Author

@Coder-Huang 登陆验证的代码是在什么地方呢?还是说要自己写

@yangpengsheng
Copy link
Author

@Coder-Huang 好的,谢谢

@ghost
Copy link

ghost commented Dec 8, 2016

@Coder-Huang cas项目导入eclipse报错,请问如何启动cas项目呢?

@tinybyhuang
Copy link
Owner

@allenyuzhenlong 这个直接放在tomcat/webapps就可以了,他就是一个解压后的war包

@hmshsnyt
Copy link

你好,我用ideal也碰到这个问题了,node1主页进不去

@tinybyhuang
Copy link
Owner

@hmshsnyt 你的idea是配置的tomcat的?还是跟我这种用插件的?

@hmshsnyt
Copy link

@Coder-Huang 我后来知道了,平时用idea的配置的tomcat,导致路径不一致,用插件的话没问题,希望后面的人看到这个问题

@DUANJIEMAO
Copy link

DUANJIEMAO commented Aug 28, 2018

请问楼主@Coder-Huang怎么部署到同一个tomact呢?

@tinybyhuang
Copy link
Owner

@DUANJIEMAO 只需要把shiro.properties的端口8080、8081都改成你自己tomcat的端口就可以了

shiro.loginUrl=http://127.0.0.1:8080/cas/login?service=http://127.0.0.1:8081/node1/shiro-cas

shiro.logoutUrl=http://127.0.0.1:8080/cas/logout?service=http://127.0.0.1:8081/node1/shiro-cas

shiro.cas.serverUrlPrefix=http://127.0.0.1:8080/cas

shiro.cas.service=http://127.0.0.1:8081/node1/shiro-cas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants