爱思唯尔This action is not currently available. A login session for a different user ID is still active.

爱思唯尔投稿,其中一个作者点击连接确认的时候出现:This action is not currently available. A login session for a different user ID is still active.可能有下面几种情况:
1、你可能登的账号还是通讯作者的ORCID账号
2、你登陆的账号邮箱不是爱思唯尔给你发邮件的邮箱
3、如果以上两种情况你都没有出现,那么换一个浏览器登录,可能是浏览器的cookie问题。
4、如果以上三种方法都没有解决你的问题,可以直接联系编辑(发邮件告知也可以)。
一般爱思唯尔的时间周期都比较长,with editor到送出外审过程估计需要三个月,如果快的话,整个过程四个月就出来结果了,但是如果慢的话一年也是有的,所以大家可以耐心等待一下,非必要不催编辑,除非你的文章过硬,否则你就是找die(😂)。再投稿的时候如果填了你ORCID号和注册邮箱的话,不适用通讯作者也可以查看你的文章进度。
最后祝我祝大家都有个好结果!!!

Here's an example implementation of the main method that fulfills the requirement you described: ```java import java.util.Scanner; public class CLI { public static void main(String[] args) { Library library = new Library(); Scanner scanner = new Scanner(System.in); while (true) { System.out.println("Choose an action:"); System.out.println("1. Print all books"); System.out.println("2. Borrow a book"); System.out.println("3. Check number of books borrowed by a user"); int choice = scanner.nextInt(); scanner.nextLine(); // consume the newline character switch (choice) { case 1: library.printAllBooks(); break; case 2: System.out.println("Enter the name of the book to borrow:"); String bookName = scanner.nextLine(); System.out.println("Enter your name:"); String userName = scanner.nextLine(); try { library.borrowBook(bookName, userName); System.out.println("Book successfully borrowed!"); } catch (BookNotAvailableException e) { System.out.println("Sorry, that book is not available."); } catch (UnknownUserException e) { System.out.println("Sorry, we don't recognize that user."); } break; case 3: System.out.println("Enter the name of the user:"); String checkUserName = scanner.nextLine(); try { int numBorrowed = library.getNumBooksBorrowed(checkUserName); System.out.println(checkUserName + " has borrowed " + numBorrowed + " books."); } catch (UnknownUserException e) { System.out.println("Sorry, we don't recognize that user."); } break; default: System.out.println("Invalid choice."); } } } } ``` Note how we catch the `UnknownUserException` when calling `library.getNumBooksBorrowed()`, print the error message using `e.getMessage()`, and then just continue the loop to print the menu of actions again.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值