📄 main.java
字号:
/*********************************************************************** * Copyright (c) 2000-2004 The Apache Software Foundation. * * All rights reserved. * * ------------------------------------------------------------------- * * Licensed under the Apache License, Version 2.0 (the "License"); you * * may not use this file except in compliance with the License. You * * may obtain a copy of the License at: * * * * http://www.apache.org/licenses/LICENSE-2.0 * * * * Unless required by applicable law or agreed to in writing, software * * distributed under the License is distributed on an "AS IS" BASIS, * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or * * implied. See the License for the specific language governing * * permissions and limitations under the License. * ***********************************************************************/package org.apache.james;/** * This is a fake class to display an error message if you try to execute James * without having Avalon installed. * * @version 1.0.0 (CVS $Revision: 1.3.4.3 $ $Date: 2004/03/15 03:54:15 $) */public class Main { /** * Displays an error message indicating that James requires an Avalon framework * compatible container. * * @param args the command line arguments, ignored */ public static void main(String[] args) { System.out.println("ERROR!"); System.out.println("Cannot execute James as a stand alone application."); System.out.println("To run James, you need to have the Avalon framework installed."); System.out.println("Please refer to the Readme file to know how to run James."); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -