源码之家

  • 首页
  • 文章
  • 问答
  • 下载
您的位置: 首页  >  文章  >  The declared package does not match the expected package解决办法

The declared package does not match the expected package解决办法

分类: 文章 • 2023-04-08 12:32:48

用eclipse写的测试项目遇到了这个问题:"The declared package does not match the expected package"

解决方法:

1.Project => Properties => Java Build Path => Source

The declared package does not match the expected package解决办法

2.讲source里面的目录删除,再重新指定目录,就解决了

相关推荐

  • ‘SmaliTypeToken .. class expected, got 'package' ’错误解决办法
  • 解决:The declared package “com.xx.xxaction“ does not match the expected package “main.java.com.xx“
  • The declared package does not match the expected package解决办法
  • eclipse 中导入源码出现 The declared package does not match the expected package的解决方法
  • The declared package "com.dao" does not match the expected package "src.com.dao"
  • eclipse导入项目后编译报错,找不到类,The declared package ××× does not match the expected package
  • 如何处理Eclipse错误消息 The declared package does not match the expected package
  • Eclipse: The declared package does not match the expected package
  • 如何解决Eclipse错误消息The declared package does not match the expected package
  • 如何解决Eclipse错误消息The declared package does not match the expected package
  • MinGW图形安装界面里面没有mingw32 make.exe解决办法
  • Could not load the Tomcat server configuration at /Servers/Tomcat v7.0 Server
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 源码之家    备案号:   粤ICP备20058927号