老师,我一直被这个问题困扰。我在很多个实操项目的时候vscode常常报错说
发生异常: ModuleNotFoundError
No module named 'flask_shop'
说我没有这个包,但是我明明是有的,看图就知道,求助这个有什么解决办法??
源码
flask_shop.zip
老师这个点击定位以后显示ad_info 不明确是什么原因
为什么修改后,不能用getInitParameter("key1"),只能有getAttribute("key1")来获取value
提示错误:类中找不到main方法。
question:
1. 类中的main方法指的是什么?
2. 类中为什么要有main方法?
3. 类中没有main方法可以吗?
springjdbcdemo.zip
public class Test01_SingleDML { public static void main(String[] args) { ApplicationContext applicationContext=new ClassPathXmlApplicationContext("applicationcontext.xml"); UsersService usersService =(UsersService) applicationContext.getBean("usersService"); Users users=new Users(); users.setUsername("yx"); users.setUsersex("female"); int i = usersService.addUsers(users); System.out.println(i); } }
老师,我测试单条DML语言,出现如下报错,请帮我看一下,我代码哪里出了问题,谢谢
老师,请问一下,treeset后面的这个<>尖括号泛型是不是加不加都可以啊?之前实例set,list的容器也是,构造器后面还会有一个尖括号,但是删除也不会受影响,这个尖括号的泛型是指的什么呢
为什么我这边实例化的时候会报错呢
老师,我这边已发送post请求就报404,找了一会也没找的哪里的错误,老师能帮忙看下吗
老师,这个黄色的波浪线代表什么?我运行是没有错误的
老师前面写linux的时候我这个虚拟机的ip是192.168.1.9.这两天吗,没用怎么就成了192.168.1.10了。这是咋回事
有继承限制那怎么不直接定义类型呢还要定义泛型呢?
为啥controller 要用war包,其他的用jar
老师,导入父项目依赖的使用父项目的依赖爆红
父项目已经clean和install好几次了,还是爆红
看评论设置这个后,还有没有效果
父项目:
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.bjsxt</groupId> <artifactId>parentMaven</artifactId> <version>1.0-SNAPSHOT</version> <!-- 将父项目设为POM类型项目 --> <packaging>pom</packaging> <!-- 集中式管理依赖 --> <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <!--引用properties中设置的版本号--> <version>${spring-context.version}</version> </dependency> </dependencies> </dependencyManagement> <properties> <!-- 设置spring-context的版本号 --> <spring-context.version>5.2.4.RELEASE</spring-context.version> <maven.compiler.source>14</maven.compiler.source> <maven.compiler.target>14</maven.compiler.target> </properties> </project>
子项目:
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <!--设置和父项目的继承关系,输入父项目的依赖--> <parent> <groupId>com.bjsxt</groupId> <artifactId>parentMaven</artifactId> <version>1.0-SNAPSHOT</version> </parent> <groupId>com.bjsxt</groupId> <artifactId>childMaven</artifactId> <version>1.0-SNAPSHOT</version> <properties> <maven.compiler.source>14</maven.compiler.source> <maven.compiler.target>14</maven.compiler.target> </properties> </project>
老师我这是课程更新以前的,我没有找到这个课程的问答入口,所以就在这个入口问一下
这是我的sql
SQL> select e.last_name,e.job_id,d.department_id,d.department_name from employees e inner join departments d on e.department_id = d.department_id inner join locations l on d.location_id = l.location_id and l.city = 'Toronto';
我没有写where就写了and,为什么也可以查询出现,意思在内连接中可以使用and吗?
非常抱歉给您带来不好的体验!为了更深入的了解您的学习情况以及遇到的问题,您可以直接拨打投诉热线:
我们将在第一时间处理好您的问题!
关于
课程分类
百战程序员微信公众号
百战程序员微信小程序
©2014-2025百战汇智(北京)科技有限公司 All Rights Reserved 北京亦庄经济开发区科创十四街 赛蒂国际工业园网站维护:百战汇智(北京)科技有限公司 京公网安备 11011402011233号 京ICP备18060230号-3 营业执照 经营许可证:京B2-20212637