grails-3.1

    2熱度

    1回答

    從Grails的3.1.9 RELASE筆記: 集成測試端口 集成和功能測試,現在一個隨機端口 而不是相同的端口默認情況下,應用程序上運行。 這是爲了避免應用程序 已在運行時出現端口衝突問題。集成測試是硬編碼端口 將需要進行修改,以使用的標有@Integration 我通常與 import grails.util.Holders ... .. . def urlWhereIntegrationAp

    10熱度

    2回答

    我已將IntelliJ IDEA Ultimate更新至2016.2版本。 我有一個Grails 3項目,現在當我嘗試運行我的項目時,打開IDE我收到以下錯誤: Error running Grails: My_Project: Grails application is not found 我仍然可以打開終端並手動運行該項目,但它似乎IntelliJ IDEA不再識別我的Grails應用程序

    0熱度

    1回答

    我有以下選擇標籤: <g:select name="recommendation" from="${recommendation.list()}" optionKey="id" optionValue="recommendation" value="${theAssessment.recommendation}" noSelectio

    1熱度

    1回答

    我在GSP使用資產管道標籤assetPath測試時,在Grails的2我沒有問題,但在Grails的3我發現了一個org.grails.taglib.GrailsTagException: [SOME_GSP.gsp:184] Error executing tag <g:form>: Error evaluating expression [assetPath(src: 'SOME_PDF.pd

    0熱度

    2回答

    我正在使用Grails 3.1.9和rest-api配置文件。 創建模型和控制器(通過grails CLI)並啓動應用程序之後。 我不能郵差/捲曲等創建後.. 如果我嘗試調用直接保存方法,如: http://localhost:8080/mymodel/create 一切工作正常。但是,如果我嘗試通過POST調用它,save()方法將永遠不會被調用(索引是默認操作)。 p.s.我在我的控制器上

    1熱度

    2回答

    我坐在Grails 3.1.4應用程序的前面。該build.gradle文件看起來像這樣: buildscript { ... } version "01.01.12.99" ... ext { ... } repositories { ... } dependencyManagement { ... } dependenc

    0熱度

    1回答

    在我的grails 3.1項目中使用JMS插件'org.grails.plugins:jms:2.0.0.M1'。我把一個消息上使用JMSService的隊列: jmsService.send("msgPending", [eventType: it.msgEventType.toString(), msgEvent: messageXml]) { Message msg ->

    0熱度

    1回答

    應用信息: Grails的版本:3.1.8 Groovy的版本:2.4.6 JVM版本: 1.8.0_60 我跑grails package獲得可運行檔案,但是我遇到了以下錯誤: Could not resolve all dependencies for configuration ':gspCompile'. Could not resolve javax.servlet:javax.serv

    2熱度

    2回答

    我已經在我的application.yml中聲明瞭Spring Security作爲依賴項,並且在運行我的應用程序時默認登錄表單按預期工作。我想對錶單進行樣式設計,以便我的應用程序無縫連接。 在視圖/ AUTH我有auth.gsp其中包含下面的代碼: <form method="POST" action="${resource(file: 'j_spring_security_check')}">

    0熱度

    2回答

    我對gradle和npm都很陌生,我試圖讓一個grails3 - angularjs2示例應用程序啓動並運行。 這是應用 https://github.com/agileorbit/grails3-angular2-starter 當我嘗試和運行應用程序,我得到它出現以下異常在這裏 task startTscWatch(type: SpawnProcessTask, dependsOn: [cop