man -k <word> : nothing appropriate

在遇到使用man命令查找utmp相关信息时出现问题后,通过卸载man、重新安装以及执行makewhatis命令解决了无法获取正确帮助信息的问题。最终通过执行man-kutmp命令成功获取了utmp的相关信息。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

在查看utmp的先关信息是觉得手册有问题,于是卸载了man,后来发现是理解错误,重新安装后再查找utmp相关信息时提示

man -k utmp

提示:

utmp : nothing appropriate

于是查找相关的信息:



[root@Cs /usr/sbin]# which makewhatis

/usr/sbin/makewhatis

执行:

[root@Cs /usr/sbin]# /usr/sbin/makewhatis

等了三分钟左右完成。

然后再执行:

man -k utmp

出现相关信息。

### mssql-jdbc Dependency Configuration for Java 8 and Java 11 For configuring the `mssql-jdbc` driver in a Maven project, it is essential to specify the correct version of the library that supports your desired Java runtime environment. Below are configurations tailored specifically for both **Java 8** and **Java 11**, ensuring compatibility with Microsoft SQL Server. #### Maven Dependency Configuration The following snippet demonstrates how to include the appropriate `mssql-jdbc` dependency within a Maven-based project: ```xml <dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>mssql-jdbc</artifactId> <!-- Version compatible with Java 8 --> <version>7.4.1.jre8</version> </dependency> ``` This configuration ensures support for applications running on **Java 8** environments[^1]. For projects utilizing **Java 11**, adjust the `<version>` tag as shown below: ```xml <dependency> <groupId>com.microsoft.sqlserver</groupId> <artifactId>mssql-jdbc</artifactId> <!-- Version compatible with Java 11 --> <version>9.2.0.jre11</version> </dependency> ``` These specific versions (`7.4.1.jre8` for Java 8 and `9.2.0.jre11` for Java 11) guarantee proper functionality when interacting with Microsoft SQL Server databases while adhering to each respective Java platform's requirements[^2]. Additionally, ensure that any application properties or connection strings align correctly with these dependencies' capabilities. A typical Spring Boot setup might involve defining database URLs like so: ```properties spring.datasource.url=jdbc:sqlserver://localhost:1433;databaseName=testdb spring.datasource.username=your_username spring.datasource.password=your_password spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver ``` Such settings facilitate seamless integration between the configured JDBC drivers and underlying data sources[^3].
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值