Revel应用无法在Heroku中编译

I am pushing to my heroku app after two months without push anything, and I am finding some compilation errors. This is the output when I try `git push heroku master'

Counting objects: 25, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (25/25), done.
Writing objects: 100% (25/25), 16.64 KiB | 0 bytes/s, done.
Total 25 (delta 19), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Revel app detected
remote: -----> Using go1.4
remote: -----> Running: go get -tags heroku ./...
remote: # ndc-console-test/app/controllers
remote: app/controllers/app.go:160: c.RenderJson undefined (type App has no field or method RenderJson)
remote: app/controllers/app.go:170: c.RenderArgs undefined (type App has no field or method RenderArgs)
remote: app/controllers/app.go:171: c.RenderArgs undefined (type App has no field or method RenderArgs)
remote: app/controllers/app.go:172: c.RenderArgs undefined (type App has no field or method RenderArgs)
remote: app/controllers/app.go:173: c.RenderArgs undefined (type App has no field or method RenderArgs)
remote: app/controllers/app.go:191: c.RenderArgs undefined (type App has no field or method RenderArgs)
remote: app/controllers/app.go:192: c.RenderArgs undefined (type App has no field or method RenderArgs)
remote: app/controllers/app.go:193: c.RenderArgs undefined (type App has no field or method RenderArgs)
remote: app/controllers/app.go:194: c.RenderArgs undefined (type App has no field or method RenderArgs)
remote: app/controllers/app.go:195: c.RenderArgs undefined (type App has no field or method RenderArgs)
remote: app/controllers/app.go:195: too many errors
remote: # ndc-console-test/app/routes
remote: app/routes/routes.go:15: revel.MainRouter.Reverse("App.Index", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:22: revel.MainRouter.Reverse("App.Ndc", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:29: revel.MainRouter.Reverse("App.FlightPrice", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:36: revel.MainRouter.Reverse("App.SeatAvailability", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:43: revel.MainRouter.Reverse("App.OrderCreateRQ", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:50: revel.MainRouter.Reverse("App.ServicePrice", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:57: revel.MainRouter.Reverse("App.OrderRetrieve", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:64: revel.MainRouter.Reverse("App.OrderChange", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:71: revel.MainRouter.Reverse("App.OrderCancel", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:83: revel.MainRouter.Reverse("TestRunner.Index", args).Url undefined (type *revel.ActionDefinition has no field or method Url)
remote: app/routes/routes.go:83: too many errors
remote:  !     Push rejected, failed to compile Revel app.
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !       Push rejected to ndc-console.

The app worked the last time I pushed and I didn´t modify the files where the errors are found... and the methods (in some cases) and fields (in other cases) should exist.

Thank in advance.

PS: The revel buildpack is added in the heroku app.

EDIT

Could be the go and/or revel version?? I have installed revel 0.13.1 and I had seen that v0.14.0 had been released (just less than two months ago). About golang I reinstall it and I have the latest version.

dongyi5817
dongyi5817 我只确认您已经怀疑的内容,因此随时写答案。
3 年多之前 回复
douzhuiqiu4923
douzhuiqiu4923 谢谢@mkopriva,它可以工作...如果您愿意,可以将评论更改为答案。这是解决方案。
3 年多之前 回复
dongxingdu9594
dongxingdu9594 谢谢@mkopriva,我要试试看。
3 年多之前 回复
dongsaohu6429
dongsaohu6429 确实,v0.14.0包含了制动更改,例如RenderArgs->ViewArgs和RenderJson->RenderJSON。在此处查看更多信息:github.com/revel/revel/releases/tag/v0.14.0。您要么需要更新代码以使其与0.14兼容,要么需要在Godpes中指定或所使用的任何供应商都指定您的应用需要显示0.13。
3 年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐