1、确定是在Package Explorer模式下,选择下三角箭头,如下图所示:

在Eclipse enon中创建包再创建子包

2、在项目下新建包,如图所示:

在Eclipse enon中创建包再创建子包

 

3、新建子包,只需将上图中的com.hsj.shopping.domain--->修改成:com.hsj.shopping.dao(即将要新建的子包名称)如图所示:

在Eclipse enon中创建包再创建子包

4、完成,项目结构如图所示:

在Eclipse enon中创建包再创建子包

 

相关文章:

  • 2021-06-21
  • 2021-08-14
  • 2022-12-23
  • 2021-09-07
  • 2022-01-16
  • 2021-07-04
  • 2021-04-03
猜你喜欢
  • 2021-05-16
  • 2021-10-04
  • 2021-11-26
  • 2021-06-06
  • 2021-11-11
  • 2021-12-08
相关资源
相似解决方案