WebLogic学习笔记

遇到的问题:

1. 在Eclipse中运行server报错:

The domain edit lock is owned by another session - this deployment operation requires exclusive access to the edit lock and hence cannot proceed.
You can release the lock in Administration Console by first disabling "Automatically Acquire Lock and Activate Changes" in Preference,
then clicking the Release Configuration button.

原因:在Eclipse中部署要求独占edit lock

解决办法: 到Administration Console中disable掉"Automatically Acquire Lock and Activate Changes" 


2. 在Eclipse中运行server报错:

java.net.MalformedURLException: no protocol

原因:Server安装路径中有空格

解决办法:重装~~


3. Tutorial: Accessing a Database from a Beehive NetUI Web Application

a. tutorial 中并未提到给Action getCustomers添加actionOutput,但其实webshop并不会自动添加,所以需要手动给getCustomers加入一行

actionOutputs = { @Jpf.ActionOutput(  name="getCustomersResult", type = model.Customer[].class) }

b. 编译出错

Internal compiler error

java.lang.ClassCastException: org.eclipse.jdt.internal.compiler.lookup.ArrayBinding

解决办法: 将getCustomerById 的 Action Template 改为 get item for display via control (tutorial中为edit)

具体可以参见 https://forums.oracle.com/forums/thread.jspa?threadID=830474


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值