Announcement Announcement Module
Collapse
No announcement yet.
is that roo 's bug Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • is that roo 's bug

    I use roo database reverse engineer feature ,get some model and create some controller. It's work ok.
    but when I add some method in *Ctronller.java and *Model.java,I got some message, and after I create some table ,
    I Couldn't use database reverse engineer again,got the error message, How can i use database reverse engineer agian? what's the problem.
    I never change *.aj by hands, i pull out some method adn attribute to *Mode.java

    the error message is :
    Code:
    roo> database reverse engineer --schema xrdb --includeTables "MY_SEQUENCE MC
    RCHANT POS_MESSAGE BRANCH XURI_USER USER_QUESTION ACTIVITE ACT_STORE COUPON_
     COUPON  COUPON_ORDER CARD_BIND ACCOUNT TRADE" --package ~.roo.biz.model --t
    utomatically
    Updated ROOT\src\main\resources\dbre.xml
    line 195:15 mismatched input 'ready' expecting {';', '.', '*', ',', '[', '='
    ', '++', '--', '/', '%', '+', '-', '==', '!=', '&', '^', '|', '&&', '||', '^
    '+=', '-=', '*=', '/=', '&=', '|=', '%=', '>', '<', 'instanceof'}
    line 195:24 mismatched input 'sign' expecting {';', ',', '[', '='}
    line 195:37 mismatched input ':' expecting {';', ',', '[', '='}
    line 197:28 mismatched input ':' expecting {';', ',', '[', '='}
    line 208:48 mismatched input '", method = RequestMethod.POST)\r\n\tpublic St
     writeOffAccountCancel(Model model, HttpServletRequest request, HttpServletR
    nse response)\r\n\t\t\tthrows Exception {\r\n\r\n\t\t// add by shuangyi.deng
    \t\t// logger first\r\n\t\tlogger.info("' expecting {';', '.', '*', '[', '('
    ', '?', '++', '--', '/', '%', '+', '-', '==', '!=', '&', '^', '|', '&&', '||
    ^=', '+=', '-=', '*=', '/=', '&=', '|=', '%=', '>', '<', 'instanceof'}
    line 214:32 mismatched input 'parameter' expecting {';', ',', '[', '='}
    line 220:20 mismatched input '00' expecting {';', '.', '*', '[', '=', '?', '
     '--', '/', '%', '+', '-', '==', '!=', '&', '^', '|', '&&', '||', '^=', '+='
    =', '*=', '/=', '&=', '|=', '%=', '>', '<', 'instanceof'}
    line 230:35 mismatched input '";\r\n\t\tString ad = "' expecting {'.', '*',
     '(', '=', '?', ':', '++', '--', '/', '%', '+', '-', '==', '!=', '&', '^', '
    '&&', '||', '^=', '+=', '-=', '*=', '/=', '&=', '|=', '%=', '>', '<', 'insta
    f'}
    line 260:54 mismatched input '", method = RequestMethod.POST)\r\n\tpublic St
     reversalAccountNotification(Model model, HttpServletRequest request) throws
    eption {\r\n\t\tlogger.info("' expecting {';', '.', '*', '[', '(', '=', '?',
    ', '--', '/', '%', '+', '-', '==', '!=', '&', '^', '|', '&&', '||', '^=', '+
    '-=', '*=', '/=', '&=', '|=', '%=', '>', '<', 'instanceof'}
    line 262:32 mismatched input 'parameter' expecting {';', ',', '[', '='}
    line 267:20 mismatched input '00' expecting {';', '.', '*', '[', '=', '?', '
     '--', '/', '%', '+', '-', '==', '!=', '&', '^', '|', '&&', '||', '^=', '+='
    =', '*=', '/=', '&=', '|=', '%=', '>', '<', 'instanceof'}
    line 277:28 token recognition error at: ''
    line 277:29 mismatched input '閫氱煡鎴愬姛' expecting {'.', '*', '[', '(', '
    '?', ':', '++', '--', '/', '%', '+', '-', '==', '!=', '&', '^', '|', '&&', '
     '^=', '+=', '-=', '*=', '/=', '&=', '|=', '%=', '>', '<', 'instanceof'}
    line 277:35 mismatched input '";\r\n\r\n\t\tMap<String, String> map = new Tr
    p<String, String>();\r\n\t\tmap.put("' expecting {';', '.', '*', '[', '(', '
    '?', '++', '--', '/', '%', '+', '-', '==', '!=', '&', '^', '|', '&&', '||',
    , '+=', '-=', '*=', '/=', '&=', '|=', '%=', '>', '<', 'instanceof'}
    line 316:53 mismatched input '", method = RequestMethod.POST)\r\n\tpublic St
     writeOffAccountTransaction(Model model, HttpServletRequest request) throws
    ption {\r\n\t\tlogger.info("' expecting {';', '.', '*', '[', '(', '=', '?',
    , '--', '/', '%', '+', '-', '==', '!=', '&', '^', '|', '&&', '||', '^=', '+=
    -=', '*=', '/=', '&=', '|=', '%=', '>', '<', 'instanceof'}
    line 318:32 mismatched input 'parameter' expecting {';', ',', '[', '='}
    line 334:20 mismatched input '00' expecting {';', '.', '*', '[', '=', '?', '
     '--', '/', '%', '+', '-', '==', '!=', '&', '^', '|', '&&', '||', '^=', '+='
    =', '*=', '/=', '&=', '|=', '%=', '>', '<', 'instanceof'}
    line 344:28 token recognition error at: ''
    line 344:36 mismatched input '?' expecting {';', ',', '[', '='}
    line 401:50 mismatched input '", method = RequestMethod.POST)\r\n\tpublic St
     posUserRegisterCardBind(Model model, HttpServletRequest request) throws Exc
    on {\r\n\t\tlogger.info("' expecting {';', '.', '*', '[', '(', '=', '?', '++
    --', '/', '%', '+', '-', '==', '!=', '&', '^', '|', '&&', '||', '^=', '+=',
    , '*=', '/=', '&=', '|=', '%=', '>', '<', 'instanceof'}
    line 403:32 mismatched input 'parameter' expecting {';', ',', '[', '='}
    line 408:20 mismatched input '00' expecting {';', '.', '*', '[', '=', '?', '
     '--', '/', '%', '+', '-', '==', '!=', '&', '^', '|', '&&', '||', '^=', '+='
    =', '*=', '/=', '&=', '|=', '%=', '>', '<', 'instanceof'}
    line 418:37 token recognition error at: ''
    line 418:39 token recognition error at: '″'
    line 418:38 mismatched input '鍗' expecting {'.', '*', '[', '(', '=', '?', '
    '++', '--', '/', '%', '+', '-', '==', '!=', '&', '^', '|', '&&', '||', '^=',
    ', '-=', '*=', '/=', '&=', '|=', '%=', '>', '<', 'instanceof'}
    line 418:40 mismatched input '凡娉ㄥ唽' expecting {';', '.', '*', '[', '(',
     '?', '++', '--', '/', '%', '+', '-', '==', '!=', '&', '^', '|', '&&', '||',
    ', '+=', '-=', '*=', '/=', '&=', '|=', '%=', '>', '<', 'instanceof'}
    line 451:54 mismatched input '", method = RequestMethod.POST)\r\n\tpublic St
     appreciationBatchSettlement(Model model, HttpServletRequest request) throws
    eption {\r\n\t\tlogger.info("' expecting {';', '.', '*', '[', '(', '=', '?',
    ', '--', '/', '%', '+', '-', '==', '!=', '&', '^', '|', '&&', '||', '^=', '+
    '-=', '*=', '/=', '&=', '|=', '%=', '>', '<', 'instanceof'}
    line 453:32 mismatched input 'parameter' expecting {';', ',', '[', '='}
    line 459:20 mismatched input '00' expecting {';', '.', '*', '[', '=', '?', '
     '--', '/', '%', '+', '-', '==', '!=', '&', '^', '|', '&&', '||', '^=', '+='
    =', '*=', '/=', '&=', '|=', '%=', '>', '<', 'instanceof'}
    line 508:35 mismatched input '", method = RequestMethod.GET)\r\n\tpublic Str
    testRest(Model model, HttpServletRequest request, HttpServletResponse respon
    throws Exception {\r\n\r\n\t\t// 寰楀埌閾跺晢鐨勬秷鎭?\n\t\t// String chinau
    ssage =\r\n\t\t// IOUtils.toString(request.getInputStream(),"' expecting {';
    .', '*', '[', '(', '=', '?', '++', '--', '/', '%', '+', '-', '==', '!=', '&'
    ', '|', '&&', '||', '^=', '+=', '-=', '*=', '/=', '&=', '|=', '%=', '>', '<'
    nstanceof'}
    line 513:53 mismatched input '");\r\n\t\tString msgType = request.getParamet
    ' expecting {';', '.', '*', '[', '=', '?', '++', '--', '/', '%', '+', '-', '
     '!=', '&', '^', '|', '&&', '||', '^=', '+=', '-=', '*=', '/=', '&=', '|=',
    , '>', '<', 'instanceof'}
    line 523:10 token recognition error at: '";\r\n\t}\r\n}\r\n'
    Undo manage ROOT\src\main\resources\dbre.xml
    Unknown or unhandled primary context

  • #2
    I know why roo get this warning message.
    if i comment with non-english(//TODO 暂时用绝对路径), i will get these message.
    but roo didn't get these message if i comment everytime.

    Comment

    Working...
    X