我有Play框架的问题,我不知道为什么......无法编译我的项目......当我编译(使用“激活器运行”)时,我遇到了“stackoverflow”错误(请参阅下面的错误的链接)我不明白......
我认为错误来自我的文件“/ conf / routes”...我尝试删除所有内容并执行“activator clean”然后“激活器编译”,当文件为空时,一切正常...添加行行和我一次又一次地用激活器清理和编译测试......在某些时候我发生了stackoverflow错误... 我不明白为什么......有人已经犯过这个错误?
我使用Play框架2.5.9与JAVA,Ebean,Postgresql,html简单页面,javascript,angularjs,ajax等。
错误日志的跟踪位于:http://pastebin.com/PikH03mn
我的conf路线:
# Routes
# This file defines all application routes (Higher priority routes first)
# ~~~~
#######################
# PERSON #
#######################
# Create on person
POST /person controllers.PersonController.personCreate
# Get All person
GET /persons controllers.PersonController.persons
# Get just one person
GET /person/:id controllers.PersonController.person(id: Long)
# Update one person
PUT /person/:id controllers.PersonController.personUpdate(id: Long)
# Delete one person
DELETE /person/:id controllers.PersonController.personDelete(id: Long)
# Check if the user exist to connect
POST /login controllers.PersonController.login
# Logout the person
POST /logout controllers.PersonController.logout
# Check if the user is already connect or not
GET /isConnected/:id/:token controllers.PersonController.isConnected(id: Int, token: String)
# Get all products for a seller
GET /person/:id/products controllers.PersonController.getAllProductsForSeller(id: Long)
# Get all seller companies
GET /persons/seller controllers.PersonController.getAllSeller()
# PAGE HTML
# Index
GET / controllers.Assets.at(path="/public", file="html/index.html")
GET /indexJS controllers.Assets.at(path="/public", file="javascripts/index.js")
# Create a person
GET /createPerson controllers.Assets.at(path="/public", file="html/createPerson.html")
GET /createPersonJS controllers.Assets.at(path="/public", file="javascripts/createPerson.js")
# Login a person
GET /login controllers.Assets.at(path="/public", file="html/login.html")
GET /loginJS controllers.Assets.at(path="/public", file="javascripts/login.js")
# Home for SU when connect
#GET /SU/home controllers.Assets.at(path="/public", file="html/homeSU.html")
#GET /SU/homeSUJS controllers.Assets.at(path="/public", file="javascripts/homeSU.js")
etc....