Intelij IDEA - 无法部署到tomcat(Intellij IDEA - cannot deploy to tomcat)
当我部署应用程序时,我不能访问我部署的应用程序 - 我正在接收消息 -
iu-sport-ui.war (exploded): Server is not connected. Deploy is not available
这对我来说很奇怪,因为有时我可以部署我的应用程序,有时我不能这样做。
我试着完全按照这个主题做,但它没有帮助我。
这是日志 - https://gist.github.com/ivanursul/c4ffaf6f69fbe8e2933c
From time to time I cannot access my deployed applications when I deploy them - I'm receiving message -
iu-sport-ui.war (exploded): Server is not connected. Deploy is not available
It's weird for me, because sometimes I can deploy my apps and sometimes I cannot do that.
I tried to do exactly as in this topic But it didn't helped me.
Here is the logs - https://gist.github.com/ivanursul/c4ffaf6f69fbe8e2933c
原文:https://stackoverflow.com/questions/32248732
更新时间:2023-06-15 06:06
最满意答案
尝试这样的事情 - 测试和工作样本:
#import "ViewController.h" @interface ViewController () { BOOL startUp; UIImageView *myImage; } @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; startUp = YES; } - (IBAction)doWork:(id)sender { if (startUp) { UIImage *img = [UIImage imageNamed: @"keyframe"]; myImage = [[UIImageView alloc] initWithImage: img]; [myImage sizeToFit]; [myImage setCenter: CGPointMake(200, 300)]; [self.view addSubview: myImage]; startUp = NO; } else { [myImage setCenter: CGPointMake(400, 500)]; } } @end
Try something like this – tested and working sample:
#import "ViewController.h" @interface ViewController () { BOOL startUp; UIImageView *myImage; } @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; startUp = YES; } - (IBAction)doWork:(id)sender { if (startUp) { UIImage *img = [UIImage imageNamed: @"keyframe"]; myImage = [[UIImageView alloc] initWithImage: img]; [myImage sizeToFit]; [myImage setCenter: CGPointMake(200, 300)]; [self.view addSubview: myImage]; startUp = NO; } else { [myImage setCenter: CGPointMake(400, 500)]; } } @end
相关问答
更多-
导航栏容纳按钮没有问题 - 我的导航栏中没有任何问题的按钮,我可以将它们添加到Bootstrap页面上的静态导航栏示例 : html应该这样布置: