oracle 启动时提示parameter LOG_ARCHIVE_DEST_1 destination string cannot be translated

oracle 8.1.7.0.0

 

SQL>startup mount;

提示: parameter LOG_ARCHIVE_DEST_1 destination string cannot be translated

 

查看d:/oracle/admin/SID/pfile/init.ora文件,

设置LOG_ARCHIVE_DEST_1  ="location=d:/oracle/oradata/SID/archive"即可。

Optional int parameter 'id' is present but cannot be translated into a null valu

04-06

这是网上下载的一个学习例子rnconcole提示错误:rn??: Servlet.service() for servlet [hello] in context with path [/spring_mvc_01] threw exception [Request processing failed; nested exception is java.lang.IllegalStateException: Optional int parameter 'id' is present but cannot be translated into a null value due to being declared as a primitive type. Consider declaring it as object wrapper for the corresponding primitive type.] with root causernjava.lang.IllegalStateException: Optional int parameter 'id' is present but cannot be translated into a null value due to being declared as a primitive type. Consider declaring it as object wrapper for the corresponding primitive type.rn名称rnspring_mvc_01rncontroller的classrn@Controllerrnpublic class HelloController rn @RequestMapping(value="/","/hello")rn public String hello(int id,Map map) rn System.out.println(id);rn System.out.println("hello");rn map.put("hello", "world");rn return "hello";rn rn @RequestMapping(value="/say")rn public String say(@RequestParam int id,Model model) rn System.out.println("say");rn model.addAttribute("hello", "value");rn //浣跨敤Object鐨勭被鍨嬩綔涓簁ey,String-->stringrn model.addAttribute("ok");rn return "hello";rn rn @RequestMapping("/req")rn public String req(HttpServletRequest req) rn System.out.println(req.getParameter("username"));rn return "hello";rn rnrnjsp页面:rn<%@ page language="java" contentType="text/html; charset=UTF-8"rn pageEncoding="UTF-8"%>rnrnrnrn rn Insert title herernrnrn hello:$hello $string rnrnrn请问这个改怎么修改,

没有更多推荐了,返回首页

私密
私密原因:
请选择设置私密原因
  • 广告
  • 抄袭
  • 版权
  • 政治
  • 色情
  • 无意义
  • 其他
其他原因:
120
出错啦
系统繁忙,请稍后再试

关闭